From ed1e54bd84074412ea9f273b7cd86aed42d844ce Mon Sep 17 00:00:00 2001 From: smatz Date: Sat, 16 May 2009 23:44:36 +0000 Subject: (svn r16326) -Codechange: replace GetPoolItemPoolSize() by PoolItem::GetPoolSize() --- src/saveload/vehicle_sl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/saveload/vehicle_sl.cpp') diff --git a/src/saveload/vehicle_sl.cpp b/src/saveload/vehicle_sl.cpp index 695b2c831..2058bd819 100644 --- a/src/saveload/vehicle_sl.cpp +++ b/src/saveload/vehicle_sl.cpp @@ -208,7 +208,7 @@ void UpdateOldAircraft() */ static void CheckValidVehicles() { - uint total_engines = GetEnginePoolSize(); + uint total_engines = Engine::GetPoolSize(); EngineID first_engine[4] = { INVALID_ENGINE, INVALID_ENGINE, INVALID_ENGINE, INVALID_ENGINE }; Engine *e; -- cgit v1.2.3-54-g00ecf