mirror of
https://github.com/glest/glest-source.git
synced 2025-09-26 07:28:59 +02:00
- improved performance and bug fixes.
This commit is contained in:
@@ -180,8 +180,10 @@ void ParticleSystem::setVisible(bool visible){
|
||||
}
|
||||
|
||||
// =============== MISC =========================
|
||||
void ParticleSystem::fade(){
|
||||
assert(state==sPlay);
|
||||
void ParticleSystem::fade() {
|
||||
if(particleObserver != NULL) {
|
||||
assert(state == sPlay);
|
||||
}
|
||||
state= sFade;
|
||||
if(particleObserver!=NULL){
|
||||
particleObserver->update(this);
|
||||
|
Reference in New Issue
Block a user