Skip to content

Commit

Permalink
Update cable_car.c
Browse files Browse the repository at this point in the history
  • Loading branch information
Scyrous authored Sep 29, 2024
1 parent 8e2c3ca commit 1dc85df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cable_car.c
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ static void CreateCableCarSprites(void)
if ((rval % 64) == 0)
{
// BUGFIX: The - 1 in the below ARRAY_COUNT means the Zigzagoon is never used
#ifdef #BUGFIX
#ifdef BUGFIX
spriteId = CreateObjectGraphicsSprite(hikerGraphicsIds[rval % ARRAY_COUNT(hikerGraphicsIds)], hikerCallbacks[GOING_DOWN], hikerCoords[GOING_DOWN][0], hikerCoords[GOING_DOWN][1], 106);
#else
spriteId = CreateObjectGraphicsSprite(hikerGraphicsIds[rval % (ARRAY_COUNT(hikerGraphicsIds) - 1)], hikerCallbacks[GOING_DOWN], hikerCoords[GOING_DOWN][0], hikerCoords[GOING_DOWN][1], 106);
Expand Down

0 comments on commit 1dc85df

Please sign in to comment.