Secret walls dissapear when player passes them.
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user