1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-15 09:34:18 +02:00
This commit is contained in:
XProger
2018-03-10 06:48:55 +03:00
parent 1c0fde576d
commit 406c89e6cf

View File

@@ -855,6 +855,9 @@ struct TrapSpikes : Controller {
}
virtual void update() {
if (getRoom().flags.water)
return;
Character *lara = (Character*)game->getLara(pos);
if (lara->health <= 0.0f) return;