Core: Fix more warnings

--HG--
branch : trunk
This commit is contained in:
Spp
2010-08-30 15:25:15 +02:00
parent b0d85ac185
commit 405f312918
103 changed files with 564 additions and 468 deletions
+4
View File
@@ -331,11 +331,13 @@ public:
void UpdateAI(const uint32 diff)
{
if (Must_Die)
{
if (Must_Die_Timer <= diff)
{
me->ForcedDespawn();
return;
} else Must_Die_Timer -= diff;
}
if (!Escape)
{
@@ -490,10 +492,12 @@ public:
void UpdateAI(const uint32 diff)
{
if (we_must_die)
{
if (must_die_timer <= diff)
{
me->ForcedDespawn();
} else must_die_timer -= diff;
}
return;
}