Mercurial > mm7
comparison UI/UIGuilds.cpp @ 1569:5cc08e71a308
m
author | Ritor1 |
---|---|
date | Mon, 02 Sep 2013 18:49:18 +0600 |
parents | ff2118028c71 |
children | 19f1735fca80 |
comparison
equal
deleted
inserted
replaced
1501:5e601a07010d | 1569:5cc08e71a308 |
---|---|
152 } | 152 } |
153 while ( v63 < 452 ); | 153 while ( v63 < 452 ); |
154 if ( HouseUI_CheckIfPlayerCanInteract() ) | 154 if ( HouseUI_CheckIfPlayerCanInteract() ) |
155 { | 155 { |
156 v8 = 0; | 156 v8 = 0; |
157 v9 = 12; | 157 for ( v9 = 12; v9; --v9 ) |
158 do | |
159 { | 158 { |
160 if (pParty->SpellBooksInGuilds[window_SpeakInHouse->par1C-139][v9].uItemID ) | 159 if (pParty->SpellBooksInGuilds[window_SpeakInHouse->par1C-139][v9].uItemID ) |
161 ++v8; | 160 ++v8; |
162 --v9; | 161 } |
163 } | |
164 while ( v9 ); | |
165 GetAsyncKeyState(17); | 162 GetAsyncKeyState(17); |
166 statusbar_string = pGlobalTXT_LocalizationStrings[195]; //"Select the Item to Buy" | 163 statusbar_string = pGlobalTXT_LocalizationStrings[195]; //"Select the Item to Buy" |
167 if ( dialog_menu_id != HOUSE_DIALOGUE_SHOP_BUY_STANDARD) | 164 if ( dialog_menu_id != HOUSE_DIALOGUE_SHOP_BUY_STANDARD) |
168 statusbar_string = pGlobalTXT_LocalizationStrings[196]; //"Select the Special Item to Buy" | 165 statusbar_string = pGlobalTXT_LocalizationStrings[196]; //"Select the Special Item to Buy" |
169 DrawTextAtStatusBar(statusbar_string, 0); | 166 DrawTextAtStatusBar(statusbar_string, 0); |