Fixed build error from previous command-check modification
authorMartin Read <martin@blackswordsonics.com>
Mon, 10 Feb 2014 16:13:26 +0000 (16:13 +0000)
committerMartin Read <martin@blackswordsonics.com>
Mon, 10 Feb 2014 16:13:26 +0000 (16:13 +0000)
display-nc.cc

index fb316f1..83cde0b 100644 (file)
@@ -1094,7 +1094,7 @@ void get_player_action(Action *act)
             print_help();
             break;
         case '>':
-            if (lvl->terrain_at(u.pos) == STAIRS)
+            if (lvl.terrain_at(u.pos) == STAIRS)
             {
                 act->cmd = GO_DOWN_STAIRS;
             }