aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRay <raysan5@gmail.com>2019-05-29 17:39:20 +0200
committerGitHub <noreply@github.com>2019-05-29 17:39:20 +0200
commitbb34398796e93a94964eceac84e412d31c771cfd (patch)
tree9f9717235fdcd6cda0e4a18031b45261edb7bb8e /src
parent20bdc3bc2a4ec06d6f7c2535927056bb12517992 (diff)
parente660621389d32bb35be78a67968155a26478c32b (diff)
downloadraylib-bb34398796e93a94964eceac84e412d31c771cfd.tar.gz
raylib-bb34398796e93a94964eceac84e412d31c771cfd.zip
Merge pull request #856 from wbrbr/master
Fix jar_xm_reset
Diffstat (limited to 'src')
-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;
}