mirror of
https://github.com/zeldaret/tmc
synced 2026-06-30 20:01:58 -04:00
fixed point stuff
This commit is contained in:
@@ -256,7 +256,7 @@ void sub_0808EB74(Entity* this) {
|
||||
this->x.WORD = entity->x.WORD;
|
||||
this->y.WORD = entity->y.WORD;
|
||||
this->spriteRendering.b3 = entity->spriteRendering.b3;
|
||||
ResolveEntityBelow(entity, this);
|
||||
SortEntityBelow(entity, this);
|
||||
} else {
|
||||
this->x.HALF.HI = 0xF000;
|
||||
this->y.HALF.HI = 0xF000;
|
||||
@@ -306,7 +306,7 @@ void sub_0808EBB8(Entity* this) {
|
||||
default:
|
||||
entity = sub_0808EC80(var0);
|
||||
if (entity) {
|
||||
ResolveEntityBelow(entity, this);
|
||||
SortEntityBelow(entity, this);
|
||||
this->spriteRendering.b3 = entity->spriteRendering.b3;
|
||||
x = entity->x.HALF.HI;
|
||||
y = entity->y.HALF.HI;
|
||||
|
||||
Reference in New Issue
Block a user