* Fixed a problem that crashed the client during <G>oto commands if a room
[citadel.git] / citadel / citadel.c
index 2072be7deeb08e9b1444bec02e784965806e3901..0524ec98946d246a733c521e6545b0e39cce76ac 100644 (file)
@@ -42,7 +42,7 @@
 
 struct march {
        struct march *next;
-       char march_name[32];
+       char march_name[ROOMNAMELEN];
        char march_floor;
        char march_order;
 };
@@ -441,7 +441,7 @@ void gotonext(void)
 {
        char buf[256];
        struct march *mptr, *mptr2;
-       char next_room[32];
+       char next_room[ROOMNAMELEN];
 
        /* Check to see if the march-mode list is already allocated.
         * If it is, pop the first room off the list and go there.