Some Creature* casts moved to new ToCreature.

Added const Creature* ToCreature()

--HG--
branch : trunk
This commit is contained in:
raczman committed 2010-03-07 18:30:53 +01:00
1 parent 9a8f10fa30
commit 07f3b91426
29 files changed
+280 -279

No files matched your search

+1 -1
View File
@@ -797,7 +797,7 @@ bool ChatHandler::HandleDebugSpawnVehicle(const char* args)
return false;
}
map->Add((Creature*)v);
map->Add(v->ToCreature());
return true;
}