1
0

Used IsGamemodeCreative() function

This commit is contained in:
Tiger Wang 2013-12-24 23:47:04 +00:00
parent ae6cb01e56
commit 508e505ace

View File

@ -984,7 +984,7 @@ void cPlayer::SetGameMode(eGameMode a_GameMode)
m_GameMode = a_GameMode;
m_ClientHandle->SendGameMode(a_GameMode);
if (a_GameMode != gmCreative)
if (!IsGameModeCreative())
{
SetFlying(false);
SetCanFly(false);