mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-12 05:26:57 +03:00
Fixed Lara burning
This commit is contained in:
parent
ea39f91f9c
commit
cc08babebd
2 changed files with 4 additions and 4 deletions
|
@ -885,9 +885,9 @@ void TriggerFireFlame(int x, int y, int z, int fxObj, int type)
|
|||
}
|
||||
else
|
||||
{
|
||||
spark->xVel = GetRandomControl() - 128;
|
||||
spark->yVel = -16 - (GetRandomControl() & 0xF);
|
||||
spark->zVel = GetRandomControl() - 128;
|
||||
spark->xVel = (byte)GetRandomControl() - 128;
|
||||
spark->yVel = -16 - ((byte)GetRandomControl() & 0xF);
|
||||
spark->zVel = (byte)GetRandomControl() - 128;
|
||||
if (type == 1)
|
||||
spark->friction = 51;
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue