mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-26 16:31:57 -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:
@@ -502,8 +502,8 @@ static void part_move(obj_so_class* i_this) {
|
||||
i_this->field_0x8f0[i].z *= 0.5f;
|
||||
|
||||
if (i >= 2) {
|
||||
i_this->field_0xa28[i].x += (s16)cM_rndFX(i_this->field_0x8f0[i].y * 400.0f);
|
||||
i_this->field_0xbc8[i] += (s16)cM_rndFX(i_this->field_0x8f0[i].y * 200.0f);
|
||||
ANGLE_ADD(i_this->field_0xa28[i].x, cM_rndFX(i_this->field_0x8f0[i].y * 400.0f));
|
||||
ANGLE_ADD(i_this->field_0xbc8[i], cM_rndFX(i_this->field_0x8f0[i].y * 200.0f));
|
||||
}
|
||||
} else {
|
||||
i_this->field_0x8f0[i].y = -10.0f;
|
||||
|
||||
Reference in New Issue
Block a user