diff --git a/include/object.h b/include/object.h index 14c4ab85..f45e8393 100644 --- a/include/object.h +++ b/include/object.h @@ -56,7 +56,7 @@ typedef enum { OBJECT_17, EVIL_SPIRIT, HOUSE_DOOR_EXT, - OBJECT_RUPEE, + RUPEE_OBJECT, GREAT_FAIRY, OBJECT_1C, OBJECT_1D, diff --git a/src/enemy/takkuri.c b/src/enemy/takkuri.c index 6e2fc590..a0fc0dbb 100644 --- a/src/enemy/takkuri.c +++ b/src/enemy/takkuri.c @@ -330,7 +330,7 @@ void sub_0803C0AC(Entity* this) { } for (; index != 0; index--) { - Entity* obj = CreateObject(OBJECT_RUPEE, rupeeType, 0); + Entity* obj = CreateObject(RUPEE_OBJECT, rupeeType, 0); if (obj) { CopyPosition(ent, obj); diff --git a/src/object.c b/src/object.c index fa59492f..9d609afd 100644 --- a/src/object.c +++ b/src/object.c @@ -28,7 +28,7 @@ void (*const gObjectFunctions[])(Entity*) = { [OBJECT_17] = Object17, [EVIL_SPIRIT] = EvilSpirit, [HOUSE_DOOR_EXT] = HouseDoorExterior, - [OBJECT_RUPEE] = Rupee, + [RUPEE_OBJECT] = Rupee, [GREAT_FAIRY] = GreatFairy, [OBJECT_1C] = Object1C, [OBJECT_1D] = Object1D,