forked from MagicBane/Server
Method cleanup
This commit is contained in:
@@ -187,8 +187,8 @@ public class Terrain {
|
||||
|
||||
// Normalize terrain loc
|
||||
|
||||
Vector2f normalizedLoc = new Vector2f(zoneOffset.x / this.terrain_size.x,
|
||||
zoneOffset.y / terrain_size.y);
|
||||
Vector2f normalizedLoc = new Vector2f(Math.abs(zoneOffset.x / this.terrain_size.x),
|
||||
Math.abs(zoneOffset.y / terrain_size.y));
|
||||
|
||||
float xval;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user