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:
parent
f849b664e0
commit
4c4e9867eb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user