Rename OBJECT_RUPEE

This commit is contained in:
Tal Hayon 2022-01-11 13:01:20 +02:00
parent d852efec29
commit 045f00141c
3 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@ typedef enum {
OBJECT_17,
EVIL_SPIRIT,
HOUSE_DOOR_EXT,
OBJECT_RUPEE,
RUPEE_OBJECT,
GREAT_FAIRY,
OBJECT_1C,
OBJECT_1D,

View File

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

View File

@ -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,