From 06ef415c4f2a57eb99c7293720fa528941e8a2cd Mon Sep 17 00:00:00 2001 From: Michael Meyer Date: Wed, 15 Nov 2023 12:41:30 -0500 Subject: [PATCH] Remove unneeded furniture vs earthquake hack This is no longer needed after ab37888b365daa63b738c76ae6e67a0210899ff5. --- src/music.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/music.c b/src/music.c index 81e0ccaf6..963e87db0 100644 --- a/src/music.c +++ b/src/music.c @@ -326,17 +326,6 @@ do_earthquake(int force) case CORR: case ROOM: /* Try to make a pit. */ do_pit: - /* maketrap() won't replace furniture with a trap, - so remove the furniture first */ - if (levl[x][y].typ != CORR) { - if (levl[x][y].typ != DOOR) { - levl[x][y].typ = ROOM; - /* clear blessed fountain, disturbed grave */ - levl[x][y].horizontal = 0; - } - /* clear doormask, altarmask, looted throne */ - levl[x][y].flags = 0; /* same as 'doormask = D_NODOOR' */ - } chasm = maketrap(x, y, PIT); if (!chasm) break; /* no pit if portal at that location */