summaryrefslogtreecommitdiff
path: root/src/code_08049DF4.c
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2023-12-31 17:29:08 -0800
committertheo3 <arisstephenson2@gmail.com>2023-12-31 17:34:02 -0800
commit37ac9cb0fb2d9ccb64286bab2cdf648e6f2541c5 (patch)
tree1556b8aba35a82f1cc0d538b93251a1b401f32f5 /src/code_08049DF4.c
parent5049daabc59d113152143d123aea2798d9487a0c (diff)
document tile asm functions
Diffstat (limited to 'src/code_08049DF4.c')
-rw-r--r--src/code_08049DF4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code_08049DF4.c b/src/code_08049DF4.c
index ebfd458c..89cf6216 100644
--- a/src/code_08049DF4.c
+++ b/src/code_08049DF4.c
@@ -167,7 +167,7 @@ u32 sub_0804A044(Entity* entA, Entity* entB, u32 arg2) {
//! @bug flags & 5 can never equal 0xA
if (flags && ((flags & 5) != 0xA)) {
- layer = GetLayerByIndex(entA->collisionLayer);
+ layer = GetTileBuffer(entA->collisionLayer);
if (xDiff < 0) {
xDiff = -xDiff;
}