Commit b7adcdd2 authored by patrick.lambert's avatar patrick.lambert
Browse files

bug fixed for RIO network

parent 7b2186c0
......@@ -193,7 +193,7 @@ public class RIOBasinNetworkObserverWithContinent extends ObserverListener
maxX = maxY = Double.NEGATIVE_INFINITY;
minX = minY = Double.POSITIVE_INFINITY;
mapContinent = ((BasinNetworkSWithContinent) pilot.getAquaticWorld().getEnvironment()).getMapContinent();
mapContinent = ((RIOBasinNetworkWithContinent) pilot.getAquaticWorld().getEnvironment()).getMapContinent();
for (Path2D.Double path : mapContinent.values()) {
minX = Math.min(minX, path.getBounds2D().getMinX());
maxX = Math.max(maxX, path.getBounds2D().getMaxX());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment