Magic-number elimination.
[open-adventure.git] / main.c
diff --git a/main.c b/main.c
index 809574b6c35cc82e02208a05862133463aa26e2b..b3a8f95fd0fc02a75ce31844423f2df4493c273e 100644 (file)
--- a/main.c
+++ b/main.c
@@ -656,7 +656,7 @@ static void playermove(int motion)
     /* Look for a way to fulfil the motion verb passed in - travel_entry indexes
      * the beginning of the motion entries for here (game.loc). */
     for (;;) {
-        if (T_TERMINATE(travel[travel_entry]) ||
+        if ((travel[travel_entry].motion == HERE) ||
             travel[travel_entry].motion == motion)
             break;
         if (travel[travel_entry].stop) {