This commit is contained in:
biroder 2023-12-08 15:07:54 +00:00
parent fc66b84d8f
commit a5f49c07e4
1 changed files with 8 additions and 1 deletions

View File

@ -769,8 +769,15 @@ impl<T: std::cmp::PartialEq + std::default::Default + Clone> Menu<T> {
controller: &mut CombinedMenuController,
state: &mut SharedGameState,
) -> MenuSelectionResult<T> {
// the engine does 4 times more ticks during cutscene skipping
let max_anim_wait = if state.textscript_vm.flags.cutscene_skip() {
32
} else {
8
};
self.anim_wait += 1;
if self.anim_wait > 8 {
if self.anim_wait > max_anim_wait {
self.anim_wait = 0;
self.anim_num += 1;