Core: Fixed uninitialized variable warnings

--HG--
branch : trunk
This commit is contained in:
Shauren
2010-12-14 15:58:45 +01:00
parent 0c04b178db
commit f4581f67b8
6 changed files with 12 additions and 8 deletions

View File

@@ -828,7 +828,7 @@ void Map::ScriptsProcess()
break;
}
Creature* cTarget;
Creature* cTarget = NULL;
if (source) //using grid searcher
{
WorldObject* wSource = dynamic_cast <WorldObject*> (source);