tomchapin / koc-power-tools

KoC Power Tools (for Kingdoms of Camelot) - Official Project
0 stars 3 forks source link

New destination city on March not setting correct co-ords #89

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. New destination city option on March tab does not populate correct 
destination
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.
Looking at the code the buttons get bound to the X co-ord twice rather than the 
X and Y co-ord.

Line 7176 needs changed to 

        t.dcp1 = new CdispCityPicker ('ptmarch_citydest', ById('BOVilleProche'), false, t.estimerRes, closestNum).bindToXYboxes(ById("RAAtypetrpx"),ById("RAAtypetrpy"));

Original issue reported on code.google.com by fra...@cfmail.co.uk on 13 Apr 2012 at 11:12

GoogleCodeExporter commented 9 years ago
when you click the coordinates button for a city at "123,456" the destination 
fields fill in like this ---> "X: 456 Y: 0". This is what happens for any of 
your cities buttons that you select for the destination. 

Original comment by starkbl...@yahoo.com on 15 Apr 2012 at 5:11

GoogleCodeExporter commented 9 years ago

Original comment by jonte...@gmail.com on 30 Apr 2012 at 4:33