summaryrefslogtreecommitdiff
path: root/player.h
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2006-11-13 20:33:51 +0000
committerbjarni <bjarni@openttd.org>2006-11-13 20:33:51 +0000
commit0724b075757a6f4ee484d116cbb1761696c575dd (patch)
tree995d92da1def66f510b9f9b1a66bbbca39cc849d /player.h
parent7a412adb71d513a3ac6c3063e9ac07fa9513f08a (diff)
downloadopenttd-0724b075757a6f4ee484d116cbb1761696c575dd.tar.xz
(svn r7138) -Fix: [vehicle list windows] fixed a rare crash where having some (not all) vehicle list windows open for a player, that goes bankrupt would crash the game
-Codechange: closing all windows for a player will now loop all windows and close those, which got the player as caption instead of having a list of windows to close
Diffstat (limited to 'player.h')
-rw-r--r--player.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/player.h b/player.h
index 05b429d79..a359b1064 100644
--- a/player.h
+++ b/player.h
@@ -252,7 +252,6 @@ static inline bool IsValidPlayer(PlayerID pi)
return pi < MAX_PLAYERS;
}
-void DeletePlayerWindows(PlayerID pi);
byte GetPlayerRailtypes(PlayerID p);
/** Finds out if a Player has a certain railtype available */