The same: Float, not Double
This commit is contained in:
parent
d89f03b90c
commit
37de63895f
@ -120,7 +120,7 @@ void cArrowEntity::OnHitEntity(cEntity & a_EntityHit, const Vector3d & a_HitPos)
|
|||||||
(int)std::floor(GetPosY() * 8.0),
|
(int)std::floor(GetPosY() * 8.0),
|
||||||
(int)std::floor(GetPosZ() * 8.0),
|
(int)std::floor(GetPosZ() * 8.0),
|
||||||
0.5F,
|
0.5F,
|
||||||
(float)(0.75 + ((float)((GetUniqueID() * 23) % 32)) / 64)
|
0.75F + ((float)((GetUniqueID() * 23) % 32)) / 64F
|
||||||
);
|
);
|
||||||
|
|
||||||
Destroy();
|
Destroy();
|
||||||
|
Loading…
Reference in New Issue
Block a user