mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 15:40:45 +01:00
Core: Fixed uninitialized variable warnings
--HG-- branch : trunk
This commit is contained in:
@@ -828,7 +828,7 @@ void Map::ScriptsProcess()
|
||||
break;
|
||||
}
|
||||
|
||||
Creature* cTarget;
|
||||
Creature* cTarget = NULL;
|
||||
if (source) //using grid searcher
|
||||
{
|
||||
WorldObject* wSource = dynamic_cast <WorldObject*> (source);
|
||||
|
||||
Reference in New Issue
Block a user