Fix enemy lakitu radius
This commit is contained in:
parent
2137f95c34
commit
60e4b47dd7
|
@ -69,6 +69,8 @@ static void enemy_lakitu_update_speed_and_angle(void) {
|
||||||
s32 distanceToPlayer = player ? dist_between_objects(o, player) : 25000;
|
s32 distanceToPlayer = player ? dist_between_objects(o, player) : 25000;
|
||||||
s32 angleToPlayer = player ? obj_angle_to_object(o, player) : 0;
|
s32 angleToPlayer = player ? obj_angle_to_object(o, player) : 0;
|
||||||
|
|
||||||
|
treat_far_home_as_mario(2000.0f, &distanceToPlayer, &angleToPlayer);
|
||||||
|
|
||||||
f32 minSpeed = 0;
|
f32 minSpeed = 0;
|
||||||
s16 turnSpeed = 0;
|
s16 turnSpeed = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue