(svn r11088) -Fix (r11063, r11067): MSVC warning C4804: '>' : unsafe use of type 'bool' in operation

This commit is contained in:
glx
2007-09-11 17:42:46 +00:00
parent 22843caaf5
commit 7b7c66fb6b
2 changed files with 2 additions and 2 deletions

View File

@@ -1245,7 +1245,7 @@ void ShowVehicleListWindow(PlayerID player, VehicleType vehicle_type)
* if _ctrl_pressed, do the opposite action (Advanced list x Normal list)
*/
if ((_patches.advanced_vehicle_list > (player != _local_player)) != _ctrl_pressed) {
if ((_patches.advanced_vehicle_list > (uint)(player != _local_player)) != _ctrl_pressed) {
ShowPlayerGroup(player, vehicle_type);
} else {
ShowVehicleListWindowLocal(player, VLW_STANDARD, vehicle_type, 0);