mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-09-11 03:13:20 -04:00
Merge branch 'main' into 26-02-27-allocator-isolation
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/d_s_play.h"
|
||||
#include "Z2AudioLib/Z2Instances.h"
|
||||
#include <cstring>
|
||||
|
||||
class daB_YO_HIO_c {
|
||||
public:
|
||||
@@ -1334,7 +1335,7 @@ void daB_YO_c::calcFreeMove(f32 param_0) {
|
||||
}
|
||||
|
||||
void daB_YO_c::setReflectAngle() {
|
||||
current.angle.y += (s16)cM_rndFX(4000.0f);
|
||||
ANGLE_ADD(current.angle.y, cM_rndFX(4000.0f));
|
||||
s16 angle_diff = current.angle.y - mWallAngle;
|
||||
if (abs(angle_diff) > 0x4800) {
|
||||
current.angle.y = mWallAngle * 2 - (current.angle.y + 0x8000);
|
||||
|
||||
Reference in New Issue
Block a user