1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-15 17:44:25 +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() { virtual void update() {
if (getRoom().flags.water)
return;
Character *lara = (Character*)game->getLara(pos); Character *lara = (Character*)game->getLara(pos);
if (lara->health <= 0.0f) return; if (lara->health <= 0.0f) return;