summaryrefslogtreecommitdiff
path: root/src/object/book.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/book.c')
-rw-r--r--src/object/book.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object/book.c b/src/object/book.c
index 7c3bf57e..790c5839 100644
--- a/src/object/book.c
+++ b/src/object/book.c
@@ -134,14 +134,14 @@ void sub_0809B56C(Entity* this) {
fx = CreateFx(this, FX_DEATH, 0);
if (fx) {
- ResolveEntityOnTop(this, fx);
+ SortEntityAbove(this, fx);
}
}
void sub_0809B5B4(Entity* this) {
if (gPlayerState.flags & PL_MINISH) {
sub_0800445C(this);
- } else if (sub_08017850(this)) {
+ } else if (IsCollidingPlayer(this)) {
CreateItemEntity(this->type + 0x39, 0, 0);
DeleteThisEntity();
}