Commit: 4cf65289d38634475388bebe653d36172d9923bd

Author: buginator <[email protected]>
Date:   Sat Oct  9 16:43:41 2010 -0400

Fix drawing of radar dishes that broke in r8189.

    Reported in http://forums.wz2100.net/viewtopic.php?f=4&t=3859.

    git-svn-id: 
https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/tr...@8195 
4a71c877-e1ca-e34f-864e-861f7616d084

 src/display3d.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/display3d.c b/src/display3d.c
index 3d7dc9d..e5111de 100644
--- a/src/display3d.c
+++ b/src/display3d.c
@@ -2243,7 +2243,7 @@ void      renderStructure(STRUCTURE *psStructure)
                                        flashImd[0] = NULL;
                                }
                                //check for sensor
-                               else if (psStructure->pStructureType->pSensor 
!= NULL)
+                               if (psStructure->pStructureType->pSensor != 
NULL)
                                {
                                        weaponImd[0] =  
psStructure->pStructureType->pSensor->pIMD;
                                        /* No recoil for sensors */


-------------------------


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Warzone2100-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits

Reply via email to