# HG changeset patch # User zipi # Date 1408652807 -3600 # Node ID faf21e357a8316425975714069c63eca825e667e # Parent acac52e9e36a42bde49da764d6aa24196efb9719 mistake in goto cleaning diff -r acac52e9e36a -r faf21e357a83 Arcomage.cpp --- a/Arcomage.cpp Thu Aug 21 11:24:51 2014 +0600 +++ b/Arcomage.cpp Thu Aug 21 21:26:47 2014 +0100 @@ -1082,13 +1082,15 @@ while ( 1 ) { byte_4FAA24 = PlayerTurn(current_player_num); - if ( GetPlayerHandCardCount(current_player_num) <= minimum_cards_at_hand ) - break; + if (GetPlayerHandCardCount(current_player_num) <= minimum_cards_at_hand) + { + need_to_discard_card = 0; + break; + } need_to_discard_card = 1; if (pArcomageGame->field_F4) - continue; + break; } - need_to_discard_card = 0; } pArcomageGame->GameOver = IsGameOver(); if ( !pArcomageGame->GameOver )