1
This commit is contained in:
parent
3b8b4bb870
commit
d5334732a3
@ -398,7 +398,7 @@ void Bullet::MapServiceUpdate()
|
|||||||
}
|
}
|
||||||
move_length -= step_len;
|
move_length -= step_len;
|
||||||
GetMutablePos().AddGlmVec3(dir * step_len);
|
GetMutablePos().AddGlmVec3(dir * step_len);
|
||||||
float distance = GetPos().Distance2D2(born_pos);
|
float distance = GetPos().DistanceGlmVec3(born_pos.ToGlmVec3());
|
||||||
if (room->OverBorder(GetPos(), gun_meta->bullet_rad())) {
|
if (room->OverBorder(GetPos(), gun_meta->bullet_rad())) {
|
||||||
if (IsBomb()) {
|
if (IsBomb()) {
|
||||||
ProcBomb();
|
ProcBomb();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user