mirror of
https://github.com/glest/glest-source.git
synced 2025-10-01 01:46:42 +02:00
- attempt to see if this makes stability better
This commit is contained in:
@@ -540,7 +540,7 @@ void Gui::giveTwoClickOrders(int x, int y , bool prepared) {
|
||||
|
||||
void Gui::centerCameraOnSelection() {
|
||||
if(selection.isEmpty() == false) {
|
||||
Vec3d refPos= selection.getRefPos();
|
||||
Vec3f refPos= selection.getRefPos();
|
||||
gameCamera->centerXZ(refPos.x, refPos.z);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user