# HG changeset patch # User Matti Hamalainen # Date 1485640342 -7200 # Node ID 9ca251cc5d7cb6d4bc3450a31a98d25c1be9c73d # Parent 91e6497dffa2ca31f5be0ac32f32f7cfa22b5a44 Coordinates local to a continent start always at origo of 1,1. diff -r 91e6497dffa2 -r 9ca251cc5d7c map.js --- a/map.js Mon Jan 09 14:05:40 2017 +0200 +++ b/map.js Sat Jan 28 23:52:22 2017 +0200 @@ -187,7 +187,7 @@ "Global X: "+ tx +", Y: "+ ty +", "+ "Continent: "+ cont +" "; - if (cx >= 0 && cy >= 0) + if (cx > 0 && cy > 0) str += "[ Local X: "+ cx +", Y: "+ cy +" ]"; document.getElementById("footercontent").innerHTML = str;