Secret walls dissapear when player passes them.

This commit is contained in:
2017-05-26 23:44:52 -04:00
parent 2e1db99943
commit 61d91a1888

View File

@@ -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. */ /* Clear the message buffer after a timeout. */
if(newMsg){ if(newMsg){
msgNow = clock(); msgNow = clock();