mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2025-03-23 06:46:11 +00:00
Fix playback slot
This commit is contained in:
parent
a2333da8cd
commit
d15099dcf6
1 changed files with 3 additions and 2 deletions
|
@ -316,8 +316,7 @@ pub unsafe fn playback(slot: usize) {
|
||||||
);
|
);
|
||||||
|
|
||||||
CURRENT_PLAYBACK_SLOT = slot;
|
CURRENT_PLAYBACK_SLOT = slot;
|
||||||
CURRENT_FRAME_LENGTH = P1_FRAME_LENGTH_MAPPING.lock()[CURRENT_RECORD_SLOT];
|
CURRENT_FRAME_LENGTH = P1_FRAME_LENGTH_MAPPING.lock()[CURRENT_PLAYBACK_SLOT];
|
||||||
|
|
||||||
INPUT_RECORD = Playback;
|
INPUT_RECORD = Playback;
|
||||||
POSSESSION = Player;
|
POSSESSION = Player;
|
||||||
INPUT_RECORD_FRAME = 0;
|
INPUT_RECORD_FRAME = 0;
|
||||||
|
@ -350,6 +349,8 @@ pub unsafe fn playback_ledge(slot: usize) {
|
||||||
);
|
);
|
||||||
|
|
||||||
CURRENT_PLAYBACK_SLOT = slot;
|
CURRENT_PLAYBACK_SLOT = slot;
|
||||||
|
CURRENT_FRAME_LENGTH = P1_FRAME_LENGTH_MAPPING.lock()[CURRENT_PLAYBACK_SLOT];
|
||||||
|
|
||||||
|
|
||||||
INPUT_RECORD = Playback;
|
INPUT_RECORD = Playback;
|
||||||
POSSESSION = Player;
|
POSSESSION = Player;
|
||||||
|
|
Loading…
Add table
Reference in a new issue