summaryrefslogtreecommitdiff
path: root/src/objectUtils.c
diff options
context:
space:
mode:
authorHenny022p <info@henny022.de>2022-01-31 17:30:51 +0100
committerHenny022p <info@henny022.de>2022-01-31 17:30:51 +0100
commit2a53ee4bf2ee7eea617280118c2188bffec77ae5 (patch)
tree85ed631ab330f9ca3734bb77253a374e3ef0de21 /src/objectUtils.c
parent9b60d9c5e24ed592524c25a9dc013417d6e7ee0c (diff)
parent2b8d880ffc0a4548d25dc613d53a908d36362d84 (diff)
merge master
Diffstat (limited to 'src/objectUtils.c')
-rw-r--r--src/objectUtils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/objectUtils.c b/src/objectUtils.c
index 0b219018..745bd0fd 100644
--- a/src/objectUtils.c
+++ b/src/objectUtils.c
@@ -16,7 +16,7 @@ Entity* sub_080A276C(Entity* parent, u32 type, u32 type2) {
Entity* e = sub_0805E744();
if (e != NULL) {
e->id = 0xC1;
- e->kind = 6;
+ e->kind = OBJECT;
e->type = type;
e->type2 = type2;
e->parent = parent;
@@ -100,7 +100,7 @@ u32 LoadObjectSprite(Entity* this, s32 type, const ObjectDefinition* definition)
Entity* CreateObject(u32 subtype, u32 form, u32 parameter) {
Entity* entity = GetEmptyEntity();
if (entity != NULL) {
- entity->kind = 6;
+ entity->kind = OBJECT;
entity->id = subtype;
entity->type = form;
entity->type2 = parameter;