Skip to content

Commit 570ae46

Browse files
committed
Ensured flags are 0 when entity is created
1 parent e93e1e7 commit 570ae46

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/spritetools_entity.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ st_entity *ST_EntityCreateEntity(s64 x, s64 y, u8 animCount)
5151
tempent->alpha = 0xFF;
5252
tempent->dir = "east";
5353
tempent->currentAnim = 0;
54+
tempent->flags = 0;
5455

5556
return tempent;
5657
}

0 commit comments

Comments
 (0)