mirror of
https://github.com/glest/glest-source.git
synced 2025-10-04 11:21:36 +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:
@@ -42,6 +42,8 @@ ParticleSystem::ParticleSystem(int particleCount) {
|
||||
memoryObjectList[this]++;
|
||||
}
|
||||
|
||||
//assert(GlobalStaticFlags::getIsNonGraphicalModeEnabled() == false);
|
||||
|
||||
//init particle vector
|
||||
blendMode= bmOne;
|
||||
//particles= new Particle[particleCount];
|
||||
@@ -1160,7 +1162,11 @@ void SplashParticleSystem::updateParticle(Particle *p){
|
||||
// ParticleManager
|
||||
// ===========================================================================
|
||||
|
||||
ParticleManager::~ParticleManager(){
|
||||
ParticleManager::ParticleManager() {
|
||||
//assert(GlobalStaticFlags::getIsNonGraphicalModeEnabled() == false);
|
||||
}
|
||||
|
||||
ParticleManager::~ParticleManager() {
|
||||
end();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user