Core/Spells: rework part 5: GameObject casting

Closes #21330
Closes #18885
Ref #18752
This commit is contained in:
ariel-
2018-02-10 16:43:01 -03:00
committed by Ariel Silva
parent 080d2c6cd4
commit 45c5e1b9d6
47 changed files with 2777 additions and 2400 deletions

View File

@@ -33,7 +33,7 @@
#include "World.h"
/// Put scripts in the execution queue
void Map::ScriptsStart(ScriptMapMap const& scripts, uint32 id, Object* source, Object* target)
void Map::ScriptsStart(std::map<uint32, std::multimap<uint32, ScriptInfo>> const& scripts, uint32 id, Object* source, Object* target)
{
///- Find the script map
ScriptMapMap::const_iterator s = scripts.find(id);