netpanzer-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netPanzer-CVS] netpanzer/src/NetPanzer/Interfaces GameManager.cpp


From: Matthias Braun
Subject: [netPanzer-CVS] netpanzer/src/NetPanzer/Interfaces GameManager.cpp
Date: Tue, 11 Nov 2003 07:09:53 -0500

CVSROOT:        /cvsroot/netpanzer
Module name:    netpanzer
Branch:         
Changes by:     Matthias Braun <address@hidden> 03/11/11 07:09:51

Modified files:
        src/NetPanzer/Interfaces: GameManager.cpp 

Log message:
        workaround for a crash in the bot

Patches:
Index: netpanzer/src/NetPanzer/Interfaces/GameManager.cpp
diff -u netpanzer/src/NetPanzer/Interfaces/GameManager.cpp:1.65 
netpanzer/src/NetPanzer/Interfaces/GameManager.cpp:1.66
--- netpanzer/src/NetPanzer/Interfaces/GameManager.cpp:1.65     Sun Nov  9 
08:43:30 2003
+++ netpanzer/src/NetPanzer/Interfaces/GameManager.cpp  Tue Nov 11 07:09:50 2003
@@ -292,7 +292,8 @@
     temp_path.append(".opt");
     ObjectiveInterface::loadObjectiveList( temp_path.c_str() );
 
-    miniMapView.init();
+    if(screen)
+        miniMapView.init();
     ParticleInterface::initParticleSystems();
 
     ParticleInterface::addCloudParticle(gameconfig->cloudcoverage);
@@ -313,9 +314,6 @@
 
     ParticleInterface::initParticleSystems();
     Particle2D::setCreateParticles(false);
-
-    ParticleInterface::addCloudParticle(gameconfig->cloudcoverage);
-    Physics::wind.setVelocity(gameconfig->windspeed, 107);
 }
 
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]