From 3b06b9a0e53e331621775afa0b6fe04ced300e51 Mon Sep 17 00:00:00 2001 From: Lance Date: Fri, 26 May 2006 09:57:26 +0000 Subject: git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6771 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/sample/monster_controller.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'npc/sample') diff --git a/npc/sample/monster_controller.cpp b/npc/sample/monster_controller.cpp index 479320f2f..2c1c4acf4 100644 --- a/npc/sample/monster_controller.cpp +++ b/npc/sample/monster_controller.cpp @@ -53,15 +53,15 @@ prontera.gat,180,200,4 script Monster Controller 123,{ break; case AI_ACTION_TAR_TYPE_MOB: set .@action_from$, "Monster"; - set .@action_name$, ""+.ai_action[AI_ACTION_TAR]; + set .@action_name$, rid2name(.ai_action[AI_ACTION_TAR]); break; case AI_ACTION_TAR_TYPE_PET: set .@action_from$, "Pet"; - set .@action_name$, ""+.ai_action[AI_ACTION_TAR]; + set .@action_name$, rid2name(.ai_action[AI_ACTION_TAR]); break; case AI_ACTION_TAR_TYPE_HOMUN: set .@action_from$, "Homunculus"; - set .@action_name$, ""+.ai_action[AI_ACTION_TAR]; + set .@action_name$, rid2name(.ai_action[AI_ACTION_TAR]); break; default: set .@action_from$, "Unknown"; -- cgit v1.2.3-70-g09d2