From 8399ed2c6a6369135a9dc83cb2d49850c432a1e9 Mon Sep 17 00:00:00 2001 From: Titus Tscharntke Date: Thu, 24 Jan 2013 22:52:34 +0000 Subject: [PATCH] bugfix for selectType in options --- source/glest_game/menu/menu_state_options.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/glest_game/menu/menu_state_options.cpp b/source/glest_game/menu/menu_state_options.cpp index bea3dd89e..7ee78a715 100644 --- a/source/glest_game/menu/menu_state_options.cpp +++ b/source/glest_game/menu/menu_state_options.cpp @@ -1774,18 +1774,18 @@ void MenuStateOptions::saveConfig(){ int selectionTypeindex= listBoxSelectionType.getSelectedItemIndex(); if(selectionTypeindex==0){ - config.setBool("EnableColorPicking", false); - config.setBool("EnableSelectBufPicking", false); config.setBool("EnableSelectBufPicking", true); + config.setBool("EnableColorPicking", false); + config.setBool("EnableFrustumPicking", false); } else if (selectionTypeindex==1){ - config.setBool("EnableColorPicking", true); config.setBool("EnableSelectBufPicking", false); - config.setBool("EnableFrustumPicking", true); + config.setBool("EnableColorPicking", true); + config.setBool("EnableFrustumPicking", false); } else if (selectionTypeindex==2){ + config.setBool("EnableSelectBufPicking", false); config.setBool("EnableColorPicking", false); - config.setBool("EnableSelectBufPicking", true); config.setBool("EnableFrustumPicking", true); }