aboutsummaryrefslogtreecommitdiff
path: root/src/game/Level3.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-21 09:59:49 -0500
committermegamage <none@none>2009-05-21 09:59:49 -0500
commit40c58e599296203072c834fde68094b9544abaa6 (patch)
tree002823d80bc6dc66aafb32e79ef3cf6260c1fb48 /src/game/Level3.cpp
parenta77f9e209234706931bb8433e2c18b336306aab2 (diff)
*Allow use gm command to set value for gobjects.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Level3.cpp')
-rw-r--r--src/game/Level3.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Level3.cpp b/src/game/Level3.cpp
index 0c921c2d760..baaafef0cdf 100644
--- a/src/game/Level3.cpp
+++ b/src/game/Level3.cpp
@@ -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);