diff --git a/src/in_game.c b/src/in_game.c index 1baf3a2..9830335 100644 --- a/src/in_game.c +++ b/src/in_game.c @@ -231,6 +231,11 @@ gsname_t update(){ } } + /* If the player walks through a secret wall then clear it. */ + if (map[iY][iX].f == SECRET_WALL) { + map[iY][iX].f = EMPTY_FLOOR; + } + /* Clear the message buffer after a timeout. */ if(newMsg){ msgNow = clock();