Implementing Spectator Mode

Adding some proprieties of the spectator game mode in player.cpp :
- Players can't toss items
- Players can't touch the ground
master
nesco 2014-09-17 21:17:06 +02:00
parent b70e09bc90
commit bf85c0b0ab
1 changed files with 1 additions and 1 deletions

View File

@ -451,7 +451,7 @@ void cPlayer::CancelChargingBow(void)
void cPlayer::SetTouchGround(bool a_bTouchGround)
{
if (IsGameModeSpectator()) // You can fly through the ground in survival
if (IsGameModeSpectator()) // You can fly through the ground in Spectator
{
return;
}