From 590199d8e17405a0717eaf2e2d39f0d671b6f844 Mon Sep 17 00:00:00 2001 From: azazel Date: Sun, 8 Aug 2010 22:54:58 +0600 Subject: * Rename InstanceData to InstanceScript * Rename *mgr to their new names in scripts project * Mass convert all the scripts (NEEDS THOROUGH TESTING, because it was done automatically) Please, report bugs on issue tracker. --HG-- branch : trunk rename : src/server/game/Instances/InstanceData.cpp => src/server/game/Instances/InstanceScript.cpp rename : src/server/game/Instances/InstanceData.h => src/server/game/Instances/InstanceScript.h --- src/server/scripts/Examples/example_escort.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/scripts/Examples') diff --git a/src/server/scripts/Examples/example_escort.cpp b/src/server/scripts/Examples/example_escort.cpp index 2def7fa7770..50961744d3b 100644 --- a/src/server/scripts/Examples/example_escort.cpp +++ b/src/server/scripts/Examples/example_escort.cpp @@ -199,7 +199,7 @@ class example_escort : public CreatureScript bool OnGossipSelect(Player* player, Creature* creature, uint32 sender, uint32 action) { - npc_escortAI* pEscortAI = CAST_AI(example_escortAI, creature->AI()); + npc_escortAI* pEscortAI = CAST_AI(example_escort::example_escortAI, creature->AI()); switch(action) { -- cgit v1.2.3