Fixed bug where double clicking near a planet to get to its info screen, then returning to galactic chart would cause the target system cursor to be off-centre.

This commit is contained in:
AnotherCommander 2014-08-28 14:44:24 +02:00
parent 50c8ad846a
commit 88c60697e6

View File

@ -3356,7 +3356,8 @@ static NSTimeInterval time_last_frame;
{
target_chart_zoom = saved_chart_zoom;
}
target_chart_centre = cursor_coordinates;
target_chart_centre.x = cursor_coordinates.x = target_system_seed.d;
target_chart_centre.y = cursor_coordinates.y = target_system_seed.b;
[self setGuiToShortRangeChartScreen];
}
}