fix goto stuff
authorWilfried Goesgens <dothebart@citadel.org>
Mon, 30 Jun 2014 19:58:12 +0000 (21:58 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Mon, 30 Jun 2014 19:58:12 +0000 (21:58 +0200)
webcit/roomops.c

index cf0b370bb43db8734a57716ce67bb8afe66d917a..099fabd9fb061693a06d6c21f73f58208b88dfa1 100644 (file)
@@ -127,7 +127,7 @@ void dotgoto(void) {
  * goto next room
  */
 void smart_goto(const StrBuf *next_room) {
-       if (gotoroom(next_room) == 2)
+       if (gotoroom(next_room) / 100 == 2)
                readloop(readnew, eUseDefault);
        else
                do_404();