Changeset - r17777:9e30c19dc5ff
[Not reviewed]
master
0 1 0
michi_cc - 13 years ago 2011-06-12 23:42:42
michi_cc@openttd.org
(svn r22572) -Fix: MSVC performance warning (assigning int to bool).
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/vehicle.cpp
Show inline comments
 
@@ -900,7 +900,7 @@ static void DoDrawVehicle(const Vehicle 
 
	if (v->vehstatus & VS_DEFPAL) pal = (v->vehstatus & VS_CRASHED) ? PALETTE_CRASH : GetVehiclePalette(v);
 

	
 
	/* Check whether the vehicle shall be transparent due to the game state */
 
	bool shadowed = (v->vehstatus & VS_SHADOW);
 
	bool shadowed = (v->vehstatus & VS_SHADOW) != 0;
 

	
 
	if (v->type == VEH_EFFECT) {
 
		/* Check whether the vehicle shall be transparent/invisible due to GUI settings.
0 comments (0 inline, 0 general)