[Orxonox-commit 4066] r8737 - code/trunk/src/modules/overlays/hud

landauf at orxonox.net landauf at orxonox.net
Sat Jul 9 12:05:57 CEST 2011


Author: landauf
Date: 2011-07-09 12:05:56 +0200 (Sat, 09 Jul 2011)
New Revision: 8737

Modified:
   code/trunk/src/modules/overlays/hud/HUDRadar.cc
Log:
fixed radar flashing red after killing an enemy with the steerable rocket

Modified: code/trunk/src/modules/overlays/hud/HUDRadar.cc
===================================================================
--- code/trunk/src/modules/overlays/hud/HUDRadar.cc	2011-07-07 17:17:39 UTC (rev 8736)
+++ code/trunk/src/modules/overlays/hud/HUDRadar.cc	2011-07-09 10:05:56 UTC (rev 8737)
@@ -136,6 +136,7 @@
         std::set<RadarViewable*>::const_iterator it;
         for( it=objectSet.begin(); it!=objectSet.end(); ++it )
             this->addObject(*it);
+        this->radarTick(0);
     }
 
     void HUDRadar::radarTick(float dt)




More information about the Orxonox-commit mailing list