summaryrefslogtreecommitdiff
path: root/src/object/objectB3.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/objectB3.c')
-rw-r--r--src/object/objectB3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/objectB3.c b/src/object/objectB3.c
index 770d4e27..de0313ee 100644
--- a/src/object/objectB3.c
+++ b/src/object/objectB3.c
@@ -75,7 +75,7 @@ void sub_080A0AF0(Entity* this) {
ExecuteScriptForEntity(this, NULL);
GetNextFrame(this);
if (this->animIndex == 5) {
- if ((this->frame & 0x80) != 0) {
+ if ((this->frame & ANIM_DONE) != 0) {
DeleteThisEntity();
}
}