mirror of
https://github.com/zeldaret/tp
synced 2026-07-04 05:20:41 -04:00
Big cast cleanup (#3076)
* Big cast cleanup * fix for name conflict * rename header * rename cast macros * fix rename mistake --------- Co-authored-by: roeming <roeming@users.noreply.github.com>
This commit is contained in:
@@ -437,7 +437,8 @@ static void drop(obj_gm_class* i_this) {
|
||||
i_this->mTimers[0] = 10;
|
||||
s16 wallAngle = wall_angle_get(i_this);
|
||||
if (a_this->speedF > 5.0f && wallAngle != 35) {
|
||||
i_this->field_0x720 += (s16)(0x8000 - ((s16)(i_this->field_0x720 - wallAngle) << 1));
|
||||
ANGLE_ADD(i_this->field_0x720, 0x8000 - ((s16)(i_this->field_0x720 - wallAngle) << 1));
|
||||
|
||||
i_this->field_0x722 *= -1;
|
||||
i_this->mTimers[0] = 10;
|
||||
a_this->speedF *= AREG_F(4) + 0.35f;
|
||||
|
||||
Reference in New Issue
Block a user