Fine, this time I actually built it. Promise.
This commit is contained in:
1 parent
008bbdbc47
commit
40d0fcfae6
1 file changed
+1
-1
@@ -1605,7 +1605,7 @@ uint32 ScriptMgr::GetDialogStatus(Player* player, Creature* creature)
|
||||
|
||||
bool ScriptMgr::CanSpawn(ObjectGuid::LowType spawnId, uint32 entry, CreatureTemplate const* actTemplate, CreatureData const* cData, Map const* map)
|
||||
{
|
||||
ASSERT(cTemplate);
|
||||
ASSERT(actTemplate);
|
||||
|
||||
CreatureTemplate const* baseTemplate = sObjectMgr->GetCreatureTemplate(entry);
|
||||
GET_SCRIPT_RET(CreatureScript, baseTemplate->ScriptID, tmpscript, true);
|
||||
|
||||
Reference in new issue
Block a user