mirror of
https://github.com/jiangzhengwenjz/katam.git
synced 2024-11-27 07:00:41 +00:00
return void* for create master sword
This commit is contained in:
parent
893fa85c96
commit
04c0beeaa5
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user