aboutsummaryrefslogtreecommitdiff
path: root/src/game/Level3.cpp
diff options
context:
space:
mode:
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;