summaryrefslogtreecommitdiffhomepage
path: root/src/external
diff options
context:
space:
mode:
authorWilhem Barbier <[email protected]>2019-05-29 17:14:31 +0200
committerWilhem Barbier <[email protected]>2019-05-29 17:15:11 +0200
commite660621389d32bb35be78a67968155a26478c32b (patch)
tree9f9717235fdcd6cda0e4a18031b45261edb7bb8e /src/external
parent20bdc3bc2a4ec06d6f7c2535927056bb12517992 (diff)
downloadraylib-e660621389d32bb35be78a67968155a26478c32b.tar.gz
raylib-e660621389d32bb35be78a67968155a26478c32b.zip
Fix jar_xm_reset
Diffstat (limited to 'src/external')
-rw-r--r--src/external/jar_xm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/external/jar_xm.h b/src/external/jar_xm.h
index 36b774d2..de6ad410 100644
--- a/src/external/jar_xm.h
+++ b/src/external/jar_xm.h
@@ -2670,7 +2670,7 @@ void jar_xm_reset(jar_xm_context_t* ctx)
jar_xm_cut_note(&ctx->channels[i]);
}
ctx->current_row = 0;
- ctx->current_table_index = 1;
+ ctx->current_table_index = ctx->module.restart_position;
ctx->current_tick = 0;
}