Make stage loading work on LE & 64-bit

This commit is contained in:
PJB3005
2026-02-28 13:17:05 +01:00
parent b8e92ad08d
commit 0c16a748c3
37 changed files with 431 additions and 201 deletions
+5
View File
@@ -2101,7 +2101,12 @@ int dMsgFlow_c::event020(mesg_flow_node_event* i_flowNode_p, fopAc_ac_c* i_speak
for (int i = 0; i < room->getPlayerNum(); i++, actor_data++) {
if ((u8)actor_data->base.angle.z == prm0) {
#if TARGET_LITTLE_ENDIAN
cXyz copy = actor_data->base.position;
player->setPlayerPosAndAngle(&copy, player->current.angle.y, 0);
#else
player->setPlayerPosAndAngle(&actor_data->base.position, player->current.angle.y, 0);
#endif
break;
}
}