return void* for create master sword

This commit is contained in:
EpochFlame 2022-06-07 20:50:06 -04:00
parent 893fa85c96
commit 04c0beeaa5
2 changed files with 2 additions and 2 deletions

View File

@ -5,6 +5,6 @@
#include "global.h"
#include "object.h"
struct Object2* CreateMasterSwordNonCollectible(struct Object* arg0, u8 arg1);
struct void* CreateMasterSwordNonCollectible(struct Object* arg0, u8 arg1);
#endif

View File

@ -5,7 +5,7 @@
static void sub_08025434(struct Object2* arg0);
static void sub_08025440(struct Object2* arg0);
struct Object2* CreateMasterSwordNonCollectible(struct Object* arg0, u8 arg1) {
void* CreateMasterSwordNonCollectible(struct Object* arg0, u8 arg1) {
struct Object2 *obj, *obj2;
struct Task *task = TaskCreate(ObjectMain, sizeof(struct Object2), 0x1000, 0, ObjectDestroy);
obj = TaskGetStructPtr(task, obj2);