diff src/airport_gui.cpp @ 9652:a05d108fe78f draft

(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool.
author rubidium <rubidium@openttd.org>
date Thu, 17 Jul 2008 20:13:01 +0000 (2008-07-17)
parents 512ea64da840
children 14e241fadc66
line wrap: on
line diff
--- a/src/airport_gui.cpp
+++ b/src/airport_gui.cpp
@@ -145,7 +145,7 @@
 
 void ShowBuildAirToolbar()
 {
-	if (!IsValidPlayer(_current_player)) return;
+	if (!IsValidPlayerID(_current_player)) return;
 
 	DeleteWindowByClass(WC_BUILD_TOOLBAR);
 	AllocateWindowDescFront<BuildAirToolbarWindow>(&_air_toolbar_desc, TRANSPORT_AIR);