mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-29 01:30:50 -04:00
Regalloc/debug/misc fixes (#2794)
* Fix "0" asserts * More debug and regalloc fixes * Fix PTMF syntax for compatibility with other compilers * Fix some fakematches, link more TUs for J/P
This commit is contained in:
@@ -1880,9 +1880,7 @@ int dAttCatch_c::request(fopAc_ac_c* i_reqActor, u8 i_itemNo, f32 i_horizontalDi
|
||||
|
||||
if (i_angle != 0) {
|
||||
cSGlobe globe(vec_to_player);
|
||||
csXyz* player_angle_p = fopAcM_GetShapeAngle_p(player);
|
||||
|
||||
s16 angle = globe.U() - player_angle_p->y;
|
||||
s16 angle = globe.U() - fopAcM_GetShapeAngle_p(player)->y;
|
||||
if (angle < 0) {
|
||||
angle = -angle;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user