mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-15 17:44:25 +02:00
fixed #84
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user