Core/Scripts: SMSG_PLAY_ONE_SHOT_ANIM_KIT corrections. Thx to Arci

This commit is contained in:
Lopfest
2016-01-26 18:58:02 +01:00
parent 2b9d40d423
commit 54ab2e0bdb
6 changed files with 34 additions and 12 deletions

View File

@@ -892,7 +892,7 @@ void Map::ScriptsProcess()
case SCRIPT_COMMAND_PLAY_ANIMKIT:
// Source must be Creature.
if (Creature* cSource = _GetScriptCreature(source, true, step.script))
cSource->PlayOneShotAnimKit(step.script->PlayAnimKit.AnimKitID);
cSource->PlayOneShotAnimKitId(step.script->PlayAnimKit.AnimKitID);
break;
default: