Update cable_car.c
This commit is contained in:
+1
-1
@@ -881,7 +881,7 @@ static void CreateCableCarSprites(void)
|
|||||||
if ((rval % 64) == 0)
|
if ((rval % 64) == 0)
|
||||||
{
|
{
|
||||||
// BUGFIX: The - 1 in the below ARRAY_COUNT means the Zigzagoon is never used
|
// 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);
|
spriteId = CreateObjectGraphicsSprite(hikerGraphicsIds[rval % ARRAY_COUNT(hikerGraphicsIds)], hikerCallbacks[GOING_DOWN], hikerCoords[GOING_DOWN][0], hikerCoords[GOING_DOWN][1], 106);
|
||||||
#else
|
#else
|
||||||
spriteId = CreateObjectGraphicsSprite(hikerGraphicsIds[rval % (ARRAY_COUNT(hikerGraphicsIds) - 1)], hikerCallbacks[GOING_DOWN], hikerCoords[GOING_DOWN][0], hikerCoords[GOING_DOWN][1], 106);
|
spriteId = CreateObjectGraphicsSprite(hikerGraphicsIds[rval % (ARRAY_COUNT(hikerGraphicsIds) - 1)], hikerCallbacks[GOING_DOWN], hikerCoords[GOING_DOWN][0], hikerCoords[GOING_DOWN][1], 106);
|
||||||
|
|||||||
Reference in New Issue
Block a user