mirror of
https://github.com/glest/glest-source.git
synced 2025-09-29 00:48:58 +02:00
- bugfix to allow headless server to load a texture for new tilesets where they must read it to determine parts.
- converted asserts to exceptions
This commit is contained in:
@@ -86,7 +86,6 @@ ParticleSystem::ParticleSystem(int particleCount) {
|
||||
memoryObjectList[this]++;
|
||||
}
|
||||
|
||||
//assert(GlobalStaticFlags::getIsNonGraphicalModeEnabled() == false);
|
||||
textureFileLoadDeferred = "";
|
||||
textureFileLoadDeferredSystemId = 0;
|
||||
textureFileLoadDeferredFormat = Texture::fAuto;
|
||||
@@ -1850,7 +1849,6 @@ void SplashParticleSystem::loadGame(const XmlNode *rootNode) {
|
||||
// ===========================================================================
|
||||
|
||||
ParticleManager::ParticleManager() {
|
||||
//assert(GlobalStaticFlags::getIsNonGraphicalModeEnabled() == false);
|
||||
}
|
||||
|
||||
ParticleManager::~ParticleManager() {
|
||||
|
Reference in New Issue
Block a user