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
|
else
|
||||||
{
|
{
|
||||||
spark->xVel = GetRandomControl() - 128;
|
spark->xVel = (byte)GetRandomControl() - 128;
|
||||||
spark->yVel = -16 - (GetRandomControl() & 0xF);
|
spark->yVel = -16 - ((byte)GetRandomControl() & 0xF);
|
||||||
spark->zVel = GetRandomControl() - 128;
|
spark->zVel = (byte)GetRandomControl() - 128;
|
||||||
if (type == 1)
|
if (type == 1)
|
||||||
spark->friction = 51;
|
spark->friction = 51;
|
||||||
else
|
else
|
||||||
|
|
|
@ -192,7 +192,7 @@ void FlameControl(short fxNumber)
|
||||||
fx->pos.yPos = 0;
|
fx->pos.yPos = 0;
|
||||||
fx->pos.zPos = 0;
|
fx->pos.zPos = 0;
|
||||||
|
|
||||||
GetLaraJointPosition((PHD_VECTOR*)& fx->pos, i);
|
GetLaraJointPosition((PHD_VECTOR*)&fx->pos, i);
|
||||||
|
|
||||||
if (Lara.BurnCount)
|
if (Lara.BurnCount)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue