Use new entity struct for player

This commit is contained in:
octorock
2023-12-30 22:08:56 +01:00
parent 5676cb7890
commit a818f1b704
279 changed files with 3482 additions and 3475 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ void Object37_Action1(Object37Entity* this) {
if ((gSave.kinstones.fusionUnmarked[0] != 0) && (this->unk70 != *this->unk78)) {
item = CreateGroundItem(super, ITEM_RUPEE100, 0);
if (item != 0) {
item->direction = gPlayerEntity.animationState << 2;
item->direction = gPlayerEntity.base.animationState << 2;
item->speed = 0x80;
item->zVelocity = Q_16_16(2.0);
}