*Allow use gm command to set value for gobjects.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-05-21 09:59:49 -05:00
1 parent a77f9e2092
commit 40c58e5992
4 files changed
+34 -16

No files matched your search

+2 -2
View File
@@ -4788,7 +4788,7 @@ bool ChatHandler::HandleDebugSetValue(const char* args)
if (!px || !py)
return false;
Unit* target = getSelectedUnit();
WorldObject* target = getSelectedObject();
if(!target)
{
SendSysMessage(LANG_SELECT_CHAR_OR_CREATURE);
@@ -4881,7 +4881,7 @@ bool ChatHandler::HandleDebugSet32Bit(const char* args)
if(!*args)
return false;
Unit* target = getSelectedUnit();
WorldObject* target = getSelectedObject();
if(!target)
{
SendSysMessage(LANG_SELECT_CHAR_OR_CREATURE);