Misa
babd86916c
Move resumesong assignment to songend()
...
This fixes a bug where the resumemusic() script command would always
play MMMMMM track 15 (or, if you're using PPPPPP, just not work). This
is because musicclass::haltdasmusik() assigns resumesong AFTER calling
Mix_HaltMusic(), but the songend() callback fires before the resumesong
assignment, meaning resumesong gets set to -1 instead of whatever
currentsong was previously.
To fix this, just move the assignment into the callback itself (I don't
know why this wasn't done before). I could have moved it to before the
Mix_HaltMusic() call, but moving it into the callback itself fixes it
for all cases of the music stopping (such as when the music fades out).
2021-03-10 09:45:20 -05:00
..
2021-02-25 17:23:59 -05:00
2021-02-25 17:23:59 -05:00
2021-02-27 18:27:28 -05:00
2021-02-27 18:27:28 -05:00
2020-09-25 13:35:03 -04:00
2021-03-10 09:44:02 -05:00
2021-02-25 17:23:59 -05:00
2021-02-25 17:23:59 -05:00
2021-02-25 17:23:59 -05:00
2021-02-27 18:27:28 -05:00
2021-02-25 17:23:59 -05:00
2020-01-08 10:37:50 -05:00
2021-02-15 23:07:35 -05:00
2021-03-06 16:00:57 -05:00
2021-03-06 16:00:57 -05:00
2020-07-19 21:37:40 -04:00
2020-07-19 21:37:40 -04:00
2021-03-06 22:14:24 -05:00
2021-03-06 22:14:24 -05:00
2021-02-25 17:23:59 -05:00
2021-03-06 22:14:24 -05:00
2021-03-06 16:00:57 -05:00
2021-01-18 13:06:43 -05:00
2020-07-19 21:37:40 -04:00
2021-03-06 16:01:29 -05:00
2021-02-25 19:38:25 -05:00
2021-03-06 22:10:22 -05:00
2021-02-25 17:23:59 -05:00
2021-02-25 17:23:59 -05:00
2021-02-25 17:23:59 -05:00
2020-07-19 21:37:40 -04:00
2020-07-19 21:37:40 -04:00
2021-03-05 18:00:20 -05:00
2021-02-25 17:23:59 -05:00
2021-02-25 19:38:25 -05:00
2020-02-09 10:42:03 -05:00
2021-02-25 17:23:59 -05:00
2021-02-25 17:23:59 -05:00
2021-02-25 17:23:59 -05:00
2021-03-10 09:45:20 -05:00
2021-02-25 17:23:59 -05:00
2021-02-25 17:23:59 -05:00
2021-02-25 17:23:59 -05:00
2020-09-25 13:51:47 -04:00
2020-07-19 21:37:40 -04:00
2021-02-25 19:38:25 -05:00
2021-02-25 17:23:59 -05:00
2021-03-05 18:00:20 -05:00
2021-02-25 17:23:59 -05:00
2021-02-25 17:23:59 -05:00
2021-02-25 17:23:59 -05:00
2021-02-27 14:26:08 -05:00
2021-02-25 17:23:59 -05:00
2021-02-25 17:23:59 -05:00
2021-02-25 17:23:59 -05:00
2021-02-25 17:23:59 -05:00
2020-09-27 16:31:40 -04:00
2021-02-25 19:39:48 -05:00
2021-02-25 17:23:59 -05:00
2020-07-19 21:37:40 -04:00
2020-07-19 21:37:40 -04:00
2021-02-25 17:23:59 -05:00
2020-07-19 21:37:40 -04:00
2021-02-25 17:23:59 -05:00
2021-02-25 17:23:59 -05:00
2021-01-12 14:02:31 -05:00
2021-02-25 17:23:59 -05:00
2021-02-25 17:23:59 -05:00
2021-01-07 21:15:34 -05:00
2021-02-27 01:40:05 -05:00
2021-02-27 01:40:05 -05:00
2020-12-25 20:17:01 -05:00
2020-12-25 20:17:01 -05:00
2020-07-19 21:37:40 -04:00
2020-07-19 21:37:40 -04:00
2020-11-04 12:06:57 -05:00
2020-11-04 12:06:57 -05:00