summaryrefslogtreecommitdiff
path: root/src/projectile/winder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/projectile/winder.c')
-rw-r--r--src/projectile/winder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/projectile/winder.c b/src/projectile/winder.c
index 5cbea569..b8caaefb 100644
--- a/src/projectile/winder.c
+++ b/src/projectile/winder.c
@@ -119,7 +119,7 @@ void Winder_SetPositions(WinderEntity* this) {
bool32 Winder_CheckForRailings(WinderEntity* this, u32 dir) {
u32 tile;
u32 val;
- LayerStruct* layer = GetLayerByIndex(super->collisionLayer);
+ LayerStruct* layer = GetTileBuffer(super->collisionLayer);
u32 collisionData;
tile = TILE(super->x.HALF.HI, super->y.HALF.HI);