Removed buggy geodata Z corrections.
This commit is contained in:
@ -550,13 +550,6 @@ public class L2Spawn implements IPositionable, IIdentifiable, INamable
|
||||
}
|
||||
}
|
||||
|
||||
// DO NOT CORRECT SPAWN Z IN GENERAL - Prevent NPC spawns on top of buildings
|
||||
// don't correct z of flying NPCs
|
||||
// if (!npc.isFlying())
|
||||
// {
|
||||
// newlocz = GeoEngine.getInstance().getHeight(newlocx, newlocy, newlocz);
|
||||
// }
|
||||
|
||||
// Set is not random walk default value
|
||||
npc.setRandomWalking(getRandomWalking());
|
||||
|
||||
|
@ -2937,10 +2937,6 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
|
||||
{
|
||||
dz = m._zDestination - zPrev; // climbing
|
||||
}
|
||||
else
|
||||
{
|
||||
zPrev = geoHeight;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user