mirror of
https://github.com/zeldaret/tmc
synced 2026-08-29 17:12:35 -04:00
use object enum in object creation
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
#include "global.h"
|
||||
#include "audio.h"
|
||||
#include "entity.h"
|
||||
#include "functions.h"
|
||||
#include "coord.h"
|
||||
#include "random.h"
|
||||
#include "object.h"
|
||||
#include "structures.h"
|
||||
#include "functions.h"
|
||||
|
||||
static void sub_0808F2B0(Entity*);
|
||||
void sub_0808F14C(Entity*);
|
||||
@@ -32,7 +33,7 @@ void sub_0808F0D0(Entity* this) {
|
||||
Entity* ent;
|
||||
u32 uVar3;
|
||||
|
||||
ent = CreateObjectWithParent(this, 0x49, 2, 0);
|
||||
ent = CreateObjectWithParent(this, OBJECT_49, 2, 0);
|
||||
this->attachedEntity = ent;
|
||||
if (ent == NULL) {
|
||||
DeleteThisEntity();
|
||||
|
||||
Reference in New Issue
Block a user