Debug flag allowing overwriting stairs
And using it in the movement tests, so running doesn't stop at stairs.
This commit is contained in:
@@ -2338,7 +2338,7 @@ create_altar(altar* a, struct mkroom* croom)
|
||||
|
||||
/* check for existing features */
|
||||
oldtyp = levl[x][y].typ;
|
||||
if (oldtyp == STAIRS || oldtyp == LADDER)
|
||||
if (!CAN_OVERWRITE_TERRAIN(oldtyp))
|
||||
return;
|
||||
|
||||
amask = sp_amask_to_amask(a->sp_amask);
|
||||
|
||||
Reference in New Issue
Block a user