diff --git a/source/Entities/Player.cpp b/source/Entities/Player.cpp index 1f4f392ef..bf96a6eaa 100644 --- a/source/Entities/Player.cpp +++ b/source/Entities/Player.cpp @@ -613,7 +613,7 @@ void cPlayer::DoTakeDamage(TakeDamageInfo & a_TDI) { if (a_TDI.DamageType != dtInVoid) { - if (m_GameMode == eGameMode_Creative) + if (IsGameModeCreative()) { // No damage / health in creative mode return;