diff --git a/src/b_bot.c b/src/b_bot.c
index 9a4c20c17618ef2a7cf3f8edf475761ff0b89cc9..4397938c1ae42e90807493b8edbfac81225c12bd 100644
--- a/src/b_bot.c
+++ b/src/b_bot.c
@@ -459,7 +459,6 @@ boolean B_CheckRespawn(player_t *player)
 	if (!sonic || sonic->health <= 0)
 		return false;
 
-#ifdef HAVE_BLUA
 	// B_RespawnBot doesn't do anything if the condition above this isn't met
 	{
 		UINT8 shouldForce = LUAh_BotRespawn(sonic, tails);
@@ -472,7 +471,6 @@ boolean B_CheckRespawn(player_t *player)
 		else if (shouldForce == 2)
 			return false;
 	}
-#endif
 
 	// Check if Sonic is busy first.
 	// If he's doing any of these things, he probably doesn't want to see us.
diff --git a/src/p_enemy.c b/src/p_enemy.c
index 6b092fb6109aca51c8f8957504cbdd054df7e9d9..246ca1321bfbaee050ec0fc2645b68ac88de9500 100644
--- a/src/p_enemy.c
+++ b/src/p_enemy.c
@@ -8848,10 +8848,8 @@ void A_Dye(mobj_t *actor)
 
 	mobj_t *target = ((locvar1 && actor->target) ? actor->target : actor);
 	UINT8 color = (UINT8)locvar2;
-#ifdef HAVE_BLUA
 	if (LUA_CallAction("A_Dye", actor))
 		return;
-#endif
 	if (color >= MAXTRANSLATIONS)
 		return;
 	
@@ -14508,4 +14506,4 @@ void A_ChangeHeight(mobj_t *actor)
 		actor->height += locvar1;
 	}
 	P_SetThingPosition(actor);
-}
\ No newline at end of file
+}
diff --git a/src/p_user.c b/src/p_user.c
index 63103f3c2b82b583c3bd6d5e9699803c24dd0fc7..02417ccff252135995d44b326540bc91c78a49a9 100644
--- a/src/p_user.c
+++ b/src/p_user.c
@@ -1541,10 +1541,6 @@ boolean P_EvaluateMusicStatus(UINT16 status, const char *musname)
 	int i;
 	boolean result = false;
 
-#ifndef HAVE_BLUA
-	(void)musname;
-#endif
-
 	for (i = 0; i < MAXPLAYERS; i++)
 	{
 		if (!P_IsLocalPlayer(&players[i]))