diff --git a/src/p_interaction.cpp b/src/p_interaction.cpp index 5f5d728bc..d9d7971ca 100644 --- a/src/p_interaction.cpp +++ b/src/p_interaction.cpp @@ -1325,7 +1325,7 @@ int P_DamageMobj (AActor *target, AActor *inflictor, AActor *source, int damage, // but telefragging should still do enough damage to kill the player) // Ignore players that are already dead. // [MC]Buddha2 absorbs telefrag damage, and anything else thrown their way. - if ((player->cheats & CF_BUDDHA2) || (((player->cheats & CF_BUDDHA) || (player->mo->flags7 & MF7_BUDDHA)) && (damage < TELEFRAG_DAMAGE)) && (player->playerstate != PST_DEAD)) + if (((player->cheats & CF_BUDDHA2) || (((player->cheats & CF_BUDDHA) || (player->mo->flags7 & MF7_BUDDHA)) && (damage < TELEFRAG_DAMAGE))) && (player->playerstate != PST_DEAD)) { // If this is a voodoo doll we need to handle the real player as well. player->mo->health = target->health = player->health = 1; diff --git a/src/posix/i_system.cpp b/src/posix/i_system.cpp index c2ce4aa9f..b3de61419 100644 --- a/src/posix/i_system.cpp +++ b/src/posix/i_system.cpp @@ -31,6 +31,7 @@ #include #include #include +#include #include #include #ifndef NO_GTK