Put const data into wheaton

This commit is contained in:
Tal Hayon
2022-04-13 23:06:06 +03:00
parent 9f323b8fc3
commit d7fbc73414
4 changed files with 3 additions and 17 deletions
+2 -3
View File
@@ -1,14 +1,13 @@
#include "npc.h"
extern Hitbox gUnk_0810C3C0;
void Wheaton(Entity* this) {
static const Hitbox gUnk_0810C3C0 = { 0, 4, { 0, 0, 0, 0 }, 6, 12 };
if (this->action == 0) {
this->action++;
SetDefaultPriority(this, PRIO_MESSAGE);
SortEntityAbove(this, this);
this->hitbox = &gUnk_0810C3C0;
this->hitbox = (Hitbox*)&gUnk_0810C3C0;
this->spriteOffsetY = 0xfe;
sub_0807DD64(this);
}