tags 777877 + patch
thanks

Here's a fix for the GCC 5 build issue.  I added parentheses so the
logical not applies to the whole comparison and not just the left
hand side.

--
Greg Pearson
Linux for HP Helion
--- a/src/video/gamegraphics.c	2015-07-06 23:32:29.291563665 +0000
+++ b/src/video/gamegraphics.c	2015-07-06 23:31:47.155562193 +0000
@@ -376,7 +376,7 @@
     int lod = playerVisible(p, game->player + i);
 		if (lod >= 0) {
 			int drawTurn = 1;
-			if (! gSettingsCache.camType == CAM_TYPE_COCKPIT ||
+			if (! (gSettingsCache.camType == CAM_TYPE_COCKPIT) ||
 	 			p != &game->player[i])
 				drawTurn = 0;
 			drawCycleShadow(gPlayerVisuals + i, game->player + i, lod, drawTurn);

Reply via email to