Fix warnings
This commit is contained in:
@@ -47,11 +47,10 @@ template<>
|
||||
void
|
||||
RandomMovementGenerator<Creature>::_setRandomLocation(Creature &creature)
|
||||
{
|
||||
float X, Y, Z, z, nx, ny, nz, ori, dist;
|
||||
float X, Y, Z, nx, ny, nz, ori, dist;
|
||||
|
||||
creature.GetHomePosition(X, Y, Z, ori);
|
||||
|
||||
z = creature.GetPositionZ();
|
||||
Map const* map = creature.GetBaseMap();
|
||||
|
||||
// For 2D/3D system selection
|
||||
|
||||
Reference in New Issue
Block a user