1
0

forogt to update all of cPlayer.cpp for player based gamemode.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@39 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
admin@omencraft.com 2011-11-01 20:26:11 +00:00
parent f849b664e0
commit 4c4e9867eb

View File

@ -322,7 +322,7 @@ void cPlayer::Heal( int a_Health )
void cPlayer::TakeDamage( int a_Damage, cEntity* a_Instigator )
{
if ( !(GetWorld()->GetGameMode() == 1) ) {
if ( !(m_GameMode == 1) ) {
cPawn::TakeDamage( a_Damage, a_Instigator );
cPacket_UpdateHealth Health;