Reset teleporter animation frames when activating.

This commit is contained in:
Steve 2018-03-17 16:57:51 +00:00
parent 12ce22fd57
commit 22a01ea5a0
1 changed files with 3 additions and 0 deletions

View File

@ -71,6 +71,9 @@ static void init(void)
{
s->sprite[FACING_LEFT] = s->sprite[FACING_RIGHT] = s->sprite[FACING_DIE] = getSprite("TeleporterInactive");
}
s->spriteTime = 0;
s->spriteFrame = 0;
}
static void action(void)