mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Explosions must not kill the window immediately
This commit is contained in:
parent
d08f539e6d
commit
a933c78d93
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ void WindowObject::WindowDamaged(Event *ev)
|
|||
iDamage *= 2;
|
||||
} else if (iMeansOfDeath == MOD_EXPLOSION) {
|
||||
// instant break
|
||||
iDamage = health;
|
||||
iDamage *= 10;
|
||||
}
|
||||
|
||||
health -= iDamage;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue