aboutsummaryrefslogtreecommitdiff
path: root/src/game/Level3.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-01-17 13:29:26 -0600
committermegamage <none@none>2009-01-17 13:29:26 -0600
commit88fd7455323b0e58ea2b808510d8c7e5aa1cd599 (patch)
tree51e263ecf2ef47c64a8f7664598c7d8ba5007095 /src/game/Level3.cpp
parentf414ab1686c300787e3dfb0c397227062b8feea6 (diff)
*Fix some bugs about movement.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Level3.cpp')
-rw-r--r--src/game/Level3.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/Level3.cpp b/src/game/Level3.cpp
index 62dc4ab2bd3..b896164cade 100644
--- a/src/game/Level3.cpp
+++ b/src/game/Level3.cpp
@@ -5766,7 +5766,10 @@ bool ChatHandler::HandleMovegensCommand(const char* /*args*/)
{
MovementGenerator* mg = mm->GetMotionSlot(i);
if(!mg)
+ {
SendSysMessage("Empty");
+ continue;
+ }
switch(mg->GetMovementGeneratorType())
{
case IDLE_MOTION_TYPE: SendSysMessage(LANG_MOVEGENS_IDLE); break;