[*] Fire animation for flame shield spell
This commit is contained in:
parent
e68a4a291a
commit
8c5ec2dae0
1 changed files with 3 additions and 0 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue