From f52659d9f97009e3baa9857ad60f325d437d24ac Mon Sep 17 00:00:00 2001 From: mazmazz Date: Wed, 19 Sep 2018 19:53:01 -0400 Subject: [PATCH] MP Postboss: strnicmp -> boolean remove cast (buildbots) --- src/p_enemy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_enemy.c b/src/p_enemy.c index a49a89225..6c19ed5d3 100644 --- a/src/p_enemy.c +++ b/src/p_enemy.c @@ -3536,7 +3536,7 @@ void A_BossDeath(mobj_t *mo) { // Touching the egg trap button calls P_DoPlayerExit, which calls P_RestoreMusic. // So just park ourselves in the mapmus variables. - boolean changed = (boolean)strnicmp(mapheaderinfo[gamemap-1]->musname, mapmusname, 7); + boolean changed = strnicmp(mapheaderinfo[gamemap-1]->musname, mapmusname, 7); strncpy(mapmusname, mapheaderinfo[gamemap-1]->muspostbossname, 7); mapmusname[6] = 0; mapmusflags = (mapheaderinfo[gamemap-1]->muspostbosstrack & MUSIC_TRACKMASK) | MUSIC_RELOADRESET;