short -> s16

This commit is contained in:
Behemoth 2020-08-18 14:37:32 +02:00
parent f0641dda41
commit d275c0e3cd
1 changed files with 2 additions and 2 deletions

View File

@ -30,8 +30,8 @@ void sub_0808F658(Entity* this) {
void sub_0808F6E0(Entity* this) {
sub_0806F69C(this);
if ((short)this->x.HALF.HI < (short)this->field_0x78.HWORD ||
(short)this->x.HALF.HI > (short)this->field_0x7a.HWORD)
if ((s16)this->x.HALF.HI < (s16)this->field_0x78.HWORD ||
(s16)this->x.HALF.HI > (s16)this->field_0x7a.HWORD)
this->action = 2;
}