Erwan
- fixed a bug with mana producer - fixed a graphical glitch with quads in the stack
This commit is contained in:
@@ -533,6 +533,7 @@ class AManaProducer: public MTGAbility{
|
||||
if (mParticleSys) mParticleSys->MoveTo(x, y);
|
||||
if (mParticleSys && animation == 1.f) mParticleSys->Fire();
|
||||
animation -= 4 *dt;
|
||||
if (!animation) animation = -1;
|
||||
if (animation < 0){
|
||||
animation = 0;
|
||||
currentlyTapping--;
|
||||
|
||||
Reference in New Issue
Block a user