simple_animal/Life() did not terminate properly on death.
Caused issues with bears that would update their icons if Life() returned true (despite having called death).
This commit is contained in:
PsiOmega
2015-04-02 09:47:20 +02:00
parent 6f5b5bfdd2
commit ca70ac1efe

View File

@@ -81,6 +81,7 @@
if(health < 1)
death()
return
if(health > maxHealth)
health = maxHealth