mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-12 13:35:35 -04:00
Make stage loading work on LE & 64-bit
This commit is contained in:
@@ -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(©, player->current.angle.y, 0);
|
||||
#else
|
||||
player->setPlayerPosAndAngle(&actor_data->base.position, player->current.angle.y, 0);
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user