(svn r6774) -Codechange: Rename the badly named OWNER_SPECTATOR to PLAYER_SPECTATOR and
put it into player.h where it belongs (instead of map.h)
This commit is contained in:
@@ -274,6 +274,6 @@ static const WindowDesc _terraform_desc = {
|
||||
|
||||
void ShowTerraformToolbar(void)
|
||||
{
|
||||
if (_current_player == OWNER_SPECTATOR) return;
|
||||
if (_current_player == PLAYER_SPECTATOR) return;
|
||||
AllocateWindowDescFront(&_terraform_desc, 0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user