mirror of
https://github.com/luksamuk/engine-psx.git
synced 2025-04-28 13:28:02 +03:00
Fix speed shoes resetting to default constants when underwater
This commit is contained in:
parent
454d87f7a7
commit
3a5f455b72
1 changed files with 1 additions and 1 deletions
|
@ -1036,7 +1036,7 @@ player_update(Player *player)
|
|||
if(player->speedshoes_frames == 0) {
|
||||
// Reset constants.
|
||||
// Notice that speedshoes_frames is set to -1 by general level update.
|
||||
player->cnst = &CNST_DEFAULT;
|
||||
player->cnst = player->underwater ? &CNST_UNDERWATER : &CNST_DEFAULT;
|
||||
}
|
||||
|
||||
// Underwater / leaving water
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue