Update cable_car.c

This commit is contained in:
Scyrous 2024-09-29 14:38:08 +02:00 committed by GitHub
parent 8e2c3ca3f2
commit 1dc85df1f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);