[*] Fire animation for flame shield spell

This commit is contained in:
cybermind 2014-06-12 13:27:21 +06:00
parent e68a4a291a
commit 8c5ec2dae0

View file

@ -55,6 +55,9 @@ void MissileFlameShield::Action()
};
this->Wait = this->Type->Sleep;
if (this->NextMissileFrame(1, 0)) {
this->SpriteFrame = 0;
}
const int index = this->TTL % 36; // 36 positions on the circle
const int dx = fs_dc[index * 2];
const int dy = fs_dc[index * 2 + 1];