Mercurial > mm7
diff mm7_5.cpp @ 1273:fbb7428fa58c
PlayerCreation_ComputeAttributeBonus cleanup
Player::IncreaseAttribute cleanup
author | Grumpy7 |
---|---|
date | Sat, 15 Jun 2013 03:00:36 +0200 |
parents | 2929c4406d2c |
children | c423f946dc99 |
line wrap: on
line diff
--- a/mm7_5.cpp Sat Jun 15 02:31:27 2013 +0200 +++ b/mm7_5.cpp Sat Jun 15 03:00:36 2013 +0200 @@ -3409,7 +3409,7 @@ break; case UIMSG_PlayerCreationClickOK: GUIWindow::Create(580, 431, 0, 0, WINDOW_PressedButton2, (int)pPlayerCreationUI_BtnOK, 0); - if ( PlayerCreation_ComputeAttributeBonus() || !PlayerCreation_Chose4Skills() ) + if ( PlayerCreation_GetUnspentAttributePointCount() || !PlayerCreation_Chose4Skills() ) GameUI_Footer_TimeLeft = GetTickCount() + 4000; else uGameState = GAME_STATE_STARTING_NEW_GAME;