diff options
| author | Machiavelli <none@none> | 2009-06-11 17:54:59 +0200 | 
|---|---|---|
| committer | Machiavelli <none@none> | 2009-06-11 17:54:59 +0200 | 
| commit | 6eaf6e962a31aa308406289d538aef30a56b95cb (patch) | |
| tree | 5980ff3267545a42b3b8f248754c5cbc3f1f70d0 /src/game/Creature.cpp | |
| parent | 8fed6e39f5de4c62825bcd87f06189a3637c1541 (diff) | |
* Change name of recently added scriptAI functions to better reflect purpose
* Fix typo in 3910_world.sql, spotted by irish
--HG--
branch : trunk
Diffstat (limited to 'src/game/Creature.cpp')
| -rw-r--r-- | src/game/Creature.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp index f31dcbf4df7..eb7c93f2d0b 100644 --- a/src/game/Creature.cpp +++ b/src/game/Creature.cpp @@ -1351,7 +1351,7 @@ void Creature::SelectLevel(const CreatureInfo *cinfo)      SetCreateHealth(health);      SetMaxHealth(health);      SetHealth(health); -    ResetDamageByPlayers(); +    ResetPlayerDamageReq();      // mana      uint32 minmana = std::min(cinfo->maxmana, cinfo->minmana); @@ -1742,7 +1742,7 @@ void Creature::setDeathState(DeathState s)          //    setActive(true);          SetHealth(GetMaxHealth());          SetLootRecipient(NULL); -        ResetDamageByPlayers(); +        ResetPlayerDamageReq();          Unit::setDeathState(ALIVE);          CreatureInfo const *cinfo = GetCreatureInfo();          RemoveFlag (UNIT_FIELD_FLAGS, UNIT_FLAG_SKINNABLE);  | 
