aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/Creature.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp
index 4eefce656a7..48ec8abbf11 100644
--- a/src/game/Creature.cpp
+++ b/src/game/Creature.cpp
@@ -802,10 +802,9 @@ bool Creature::Create(uint32 guidlow, Map *map, uint32 phaseMask, uint32 Entry,
{
AddUnitMovementFlag(MOVEMENTFLAG_SWIMMING);
}
+ LastUsedScriptID = GetCreatureInfo()->ScriptID;
}
- LastUsedScriptID = m_creatureInfo->ScriptID;
-
return bResult;
}