Implementing Spectator Mode
Adding some proprieties of the spectator game mode in player.cpp : - Players can't toss items - Players can't touch the groundmaster
parent
b70e09bc90
commit
bf85c0b0ab
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue