mirror of
https://github.com/glest/glest-source.git
synced 2025-08-11 02:43:57 +02:00
- cleanup of masterserver global flag
- attempt to cut down on resources required for masterserver mode to minimize RAM
This commit is contained in:
@@ -61,13 +61,13 @@ protected:
|
||||
float volume;
|
||||
string fileName;
|
||||
|
||||
static bool masterserverMode;
|
||||
//static bool masterserverMode;
|
||||
|
||||
public:
|
||||
Sound();
|
||||
virtual ~Sound(){};
|
||||
|
||||
static void setMasterserverMode(bool value) { masterserverMode=value; }
|
||||
//static void setMasterserverMode(bool value) { masterserverMode=value; }
|
||||
|
||||
const SoundInfo *getInfo() const {return &info;}
|
||||
float getVolume() const {return volume;}
|
||||
|
Reference in New Issue
Block a user