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