and one more bugfix for particle positioning
This commit is contained in:
parent
6ab51749e8
commit
eaec6e08ae
|
@ -2739,7 +2739,7 @@ bool Unit::update() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this->fire != NULL) {
|
if (this->fire != NULL) {
|
||||||
this->fire->setPos(getCurrMidHeightVector());
|
this->fire->setPos(getCurrBurnVector());
|
||||||
}
|
}
|
||||||
for(UnitParticleSystems::iterator it= unitParticleSystems.begin(); it != unitParticleSystems.end(); ++it) {
|
for(UnitParticleSystems::iterator it= unitParticleSystems.begin(); it != unitParticleSystems.end(); ++it) {
|
||||||
if(Renderer::getInstance().validateParticleSystemStillExists((*it),rsGame) == true) {
|
if(Renderer::getInstance().validateParticleSystemStillExists((*it),rsGame) == true) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user