mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-04-28 12:47:58 +03:00
tr2/movable_block: fix falling pushblock SFX
This makes falling pushblocks use the correct SFX when they land. Resolves #2193.
This commit is contained in:
parent
34ff171fa3
commit
1a8d956f55
3 changed files with 4 additions and 2 deletions
|
@ -6,10 +6,11 @@
|
|||
- fixed Lara getting stuck in a T-pose after jumping/falling and then dying before reaching fast fall speed (#2575)
|
||||
- fixed a rare issue whereby Lara would be unable to move after disposing a flare (#2545, regression from 0.9)
|
||||
- fixed flare pickups only adding one flare to Lara's inventory rather than six (#2551, regression from 0.9)
|
||||
- fixed several issues with pushblocks (#2036)
|
||||
- fixed several issues with pushblocks (#2036/#2193)
|
||||
- fixed an invisible wall above stacked pushblocks if near a ceiling portal
|
||||
- fixed floor height issues with pushblocks poised to fall in various scenarios
|
||||
- fixed being unable to stack multiple pushblocks over multiple rooms
|
||||
- fixed falling pushblocks using the enemy grunt sound effect
|
||||
- fixed play any level causing the game to hang when no gym level is present (#2560, regression from 0.9)
|
||||
- fixed extremely large item quantities crashing the game (#2497, regression from 0.3)
|
||||
- fixed missing new game text in the passport when play any level is enabled (#2563, regression from 0.9)
|
||||
|
|
|
@ -85,6 +85,7 @@ game with new enhancements and features.
|
|||
- fixed an invisible wall above stacked pushblocks if near a ceiling portal
|
||||
- fixed floor height issues with pushblocks poised to fall in various scenarios
|
||||
- fixed being unable to stack multiple pushblocks over multiple rooms
|
||||
- fixed falling pushblocks using the enemy grunt sound effect
|
||||
- improved the animation of Lara's braid
|
||||
|
||||
#### Cheats
|
||||
|
|
|
@ -271,7 +271,7 @@ static void M_Control(const int16_t item_num)
|
|||
item->pos.y = height;
|
||||
item->status = IS_DEACTIVATED;
|
||||
ItemAction_Run(ITEM_ACTION_FLOOR_SHAKE, item);
|
||||
Sound_Effect(SFX_ENEMY_GRUNT, &item->pos, SPM_ALWAYS);
|
||||
Sound_Effect(SFX_T_REX_FEET, &item->pos, SPM_ALWAYS);
|
||||
} else if (
|
||||
item->pos.y >= height && !item->gravity
|
||||
&& !(bool)(intptr_t)item->priv) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue