Mercurial > mm7
changeset 1569:5cc08e71a308
m
author | Ritor1 |
---|---|
date | Mon, 02 Sep 2013 18:49:18 +0600 |
parents | 5e601a07010d |
children | a4a827ff5c95 |
files | UI/UIGuilds.cpp |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/UI/UIGuilds.cpp Sun Sep 01 17:41:00 2013 +0600 +++ b/UI/UIGuilds.cpp Mon Sep 02 18:49:18 2013 +0600 @@ -154,14 +154,11 @@ if ( HouseUI_CheckIfPlayerCanInteract() ) { v8 = 0; - v9 = 12; - do + for ( v9 = 12; v9; --v9 ) { if (pParty->SpellBooksInGuilds[window_SpeakInHouse->par1C-139][v9].uItemID ) ++v8; - --v9; } - while ( v9 ); GetAsyncKeyState(17); statusbar_string = pGlobalTXT_LocalizationStrings[195]; //"Select the Item to Buy" if ( dialog_menu_id != HOUSE_DIALOGUE_SHOP_BUY_STANDARD)