comparison UI/UIGuilds.cpp @ 1758:24e756a50073

DrawBuff_remaind_time_string and DrawShops_next_generation_time_string fix and cleared
author Ritor1
date Mon, 30 Sep 2013 23:38:28 +0600
parents 421c29d4ab3e
children 2e6d3cd052e0
comparison
equal deleted inserted replaced
1757:11f5c0ac170a 1758:24e756a50073
221 if ( dialog_menu_id != HOUSE_DIALOGUE_SHOP_BUY_STANDARD) 221 if ( dialog_menu_id != HOUSE_DIALOGUE_SHOP_BUY_STANDARD)
222 statusbar_string = pGlobalTXT_LocalizationStrings[196]; //"Select the Special Item to Buy" 222 statusbar_string = pGlobalTXT_LocalizationStrings[196]; //"Select the Special Item to Buy"
223 DrawTextAtStatusBar(statusbar_string, 0); 223 DrawTextAtStatusBar(statusbar_string, 0);
224 if ( !v8 ) 224 if ( !v8 )
225 { 225 {
226 working_window.DrawCurrentTime(pParty->PartyTimes.Shops_next_generation_time[window_SpeakInHouse->par1C] - pParty->uTimePlayed);//"Приходите через 14 дней" 226 working_window.DrawShops_next_generation_time_string(pParty->PartyTimes.Shops_next_generation_time[window_SpeakInHouse->par1C] - pParty->uTimePlayed);//"Приходите через 14 дней"
227 return; 227 return;
228 } 228 }
229 v12 = pMouse->GetCursorPos(&v51); 229 v12 = pMouse->GetCursorPos(&v51);
230 result = v12->x + pSRZBufferLineOffsets[pMouse->GetCursorPos(&v50)->y]; 230 result = v12->x + pSRZBufferLineOffsets[pMouse->GetCursorPos(&v50)->y];
231 v13 = pRenderer->pActiveZBuffer[result] & 0xFFFF; 231 v13 = pRenderer->pActiveZBuffer[result] & 0xFFFF;