]> git.mxchange.org Git - flightgear.git/commitdiff
Conditionally enable hot for multiplayer models
authorTorsten Dreyer <torsten@ŧ3r.de>
Thu, 16 Apr 2015 18:58:56 +0000 (20:58 +0200)
committerTorsten Dreyer <torsten@ŧ3r.de>
Thu, 16 Apr 2015 18:58:56 +0000 (20:58 +0200)
originally from denk padje alias onox

src/AIModel/AIMultiplayer.cxx

index 30843b7c48b3643b3a16bc9705d0035e0fdd4cac..3ffbb1e25b5a39b7c74bdbbbe73c522ec8741384 100644 (file)
@@ -34,7 +34,7 @@ using std::string;
 // #define SG_DEBUG SG_ALERT
 
 FGAIMultiplayer::FGAIMultiplayer() :
-   FGAIBase(otMultiplayer, false)
+   FGAIBase(otMultiplayer, fgGetBool("/sim/multiplay/hot", false))
 {
    no_roll = false;