Fix wrong value passed as initial health
authorunc0rr
Mon, 09 Mar 2009 18:52:56 +0000
changeset 1877 1edafdb4c7a2
parent 1876 b13dd4e6e98e
child 1878 b3b277d2b891
Fix wrong value passed as initial health
QTfrontend/gamecfgwidget.cpp
--- a/QTfrontend/gamecfgwidget.cpp	Mon Mar 09 18:43:41 2009 +0000
+++ b/QTfrontend/gamecfgwidget.cpp	Mon Mar 09 18:52:56 2009 +0000
@@ -172,7 +172,7 @@
 	borderChanged(CB_border->isChecked());
 	caseProbabilityChanged(SB_CaseProb->value());
 	fortsModeChanged(CB_mode_Forts->isChecked());
-	initHealthChanged(SB_CaseProb->value());
+	initHealthChanged(SB_InitHealth->value());
 	seedChanged(pMapContainer->getCurrentSeed());
 	solidChanged(CB_solid->isChecked());
 	suddenDeathTurnsChanged(SB_SuddenDeath->value());