s2games/Heroes-of-Newerth-Bots — pull request #64 by mtesija (2014-02-26 04:51:00+00:00)
Title: onThink behaviors bug

GetHealth() returns a number greater than zero for the first 0-3 frames after a bot dies. This has the potential to cause behaviors to run while the bot is dead.

This is a fix for that bug by switching GetHealth() to IsAlive(). I also removed the code in Wretched Hag's main file meant to suppress this error.