mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-11 13:06:49 +03:00

- deleted all the __cdecl except for the #define function. because /Gd enable the __cdecl for function by default. - added the commented code in FireWeapon for TR3 entity (some function is missing)
16 lines
282 B
C++
16 lines
282 B
C++
#include "traps.h"
|
|
#include "..\Global\global.h"
|
|
#include "items.h"
|
|
|
|
void LaraBurn()
|
|
{
|
|
if (!Lara.burn && !Lara.burnSmoke)
|
|
{
|
|
short fxNum = CreateNewEffect(LaraItem->roomNumber);
|
|
if (fxNum != NO_ITEM)
|
|
{
|
|
Effects[fxNum].objectNumber = ID_FLAME;
|
|
Lara.burn = true;
|
|
}
|
|
}
|
|
}
|