(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.
This commit is contained in:
@@ -1192,7 +1192,7 @@ void ShowBuildVehicleWindow(TileIndex tile, VehicleType type)
|
||||
|
||||
DeleteWindowById(WC_BUILD_VEHICLE, num);
|
||||
|
||||
w = AllocateWindowDescFront(&_build_vehicle_desc, num, &type);
|
||||
w = AllocateWindowDescFront<Window>(&_build_vehicle_desc, num, &type);
|
||||
|
||||
if (w == NULL) return;
|
||||
|
||||
|
Reference in New Issue
Block a user