aboutsummaryrefslogtreecommitdiff
path: root/src/game/Level1.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-19 18:49:11 -0600
committermegamage <none@none>2009-02-19 18:49:11 -0600
commit7fc442263d92d43cb8e4063464dbec9d0f84f304 (patch)
tree2b39b73743b6c7ceac7fe1afbe55979dcbea5fa1 /src/game/Level1.cpp
parentfe6bfc2ef1c33271912068a9123b3186d718443a (diff)
Drop Say/Yell/etc string versions.
1) DB based string_id versions must be used. 2) for debug purposes raw WorldObject::MonsterSay/etc versions can be used Author: VladimirMangos --HG-- branch : trunk
Diffstat (limited to 'src/game/Level1.cpp')
-rw-r--r--src/game/Level1.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/Level1.cpp b/src/game/Level1.cpp
index 44818cfc7be..062f262a826 100644
--- a/src/game/Level1.cpp
+++ b/src/game/Level1.cpp
@@ -53,7 +53,7 @@ bool ChatHandler::HandleNpcSayCommand(const char* args)
return false;
}
- pCreature->Say(args, LANG_UNIVERSAL, 0);
+ pCreature->MonsterSay(args, LANG_UNIVERSAL, 0);
return true;
}
@@ -71,7 +71,7 @@ bool ChatHandler::HandleNpcYellCommand(const char* args)
return false;
}
- pCreature->Yell(args, LANG_UNIVERSAL, 0);
+ pCreature->MonsterYell(args, LANG_UNIVERSAL, 0);
return true;
}
@@ -91,7 +91,7 @@ bool ChatHandler::HandleNpcTextEmoteCommand(const char* args)
return false;
}
- pCreature->TextEmote(args, 0);
+ pCreature->MonsterTextEmote(args, 0);
return true;
}
@@ -119,7 +119,7 @@ bool ChatHandler::HandleNpcWhisperCommand(const char* args)
if (HasLowerSecurity(objmgr.GetPlayer(receiver_guid), 0))
return false;
- pCreature->Whisper(text,receiver_guid);
+ pCreature->MonsterWhisper(text,receiver_guid);
return true;
}