mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-21 07:22:02 -04:00
Core: Fix more warnings
--HG-- branch : trunk
This commit is contained in:
@@ -2370,8 +2370,7 @@ void WorldObject::MovePositionToFirstCollision(Position &pos, float dist, float
|
||||
|
||||
float step = dist/10.0f;
|
||||
|
||||
int j = 0;
|
||||
for (j; j < 10; j++)
|
||||
for (uint8 j = 0; j < 10; ++j)
|
||||
{
|
||||
// do not allow too big z changes
|
||||
if (fabs(pos.m_positionZ - destz) > 6)
|
||||
|
||||
Reference in New Issue
Block a user