Mercurial > mm7
comparison UI/UiGame.cpp @ 2008:591024ad7269
Footer text for items fix
author | Ritor1 |
---|---|
date | Sat, 09 Nov 2013 00:15:18 +0600 |
parents | 985fff9fb62d |
children | 37f42cfc881d |
comparison
equal
deleted
inserted
replaced
2007:664146d9b101 | 2008:591024ad7269 |
---|---|
1220 } | 1220 } |
1221 } | 1221 } |
1222 uLastPointedObjectID = pMouse->uPointingObjectID; | 1222 uLastPointedObjectID = pMouse->uPointingObjectID; |
1223 return; | 1223 return; |
1224 } | 1224 } |
1225 v28 = pTmpBuf.data(); | |
1226 sprintfex(pTmpBuf.data(), pGlobalTXT_LocalizationStrings[470], pSpriteObjects[v19].stru_24.GetDisplayName());// "Get %s" | 1225 sprintfex(pTmpBuf.data(), pGlobalTXT_LocalizationStrings[470], pSpriteObjects[v19].stru_24.GetDisplayName());// "Get %s" |
1226 GameUI_SetFooterString(pTmpBuf.data()); | |
1227 if ( pMouse->uPointingObjectID == 0 ) | |
1228 { | |
1229 if ( uLastPointedObjectID != 0 ) | |
1230 { | |
1231 pFooterString[0] = 0; | |
1232 bForceDrawFooter = 1; | |
1233 } | |
1234 } | |
1235 uLastPointedObjectID = pMouse->uPointingObjectID; | |
1236 return; | |
1227 } | 1237 } |
1228 //For Decorations---------------------------------- | 1238 //For Decorations---------------------------------- |
1229 if (PID_TYPE(v18) == OBJECT_Decoration) | 1239 if (PID_TYPE(v18) == OBJECT_Decoration) |
1230 { | 1240 { |
1231 if ( !pLevelDecorations[v19].uEventID ) | 1241 if ( !pLevelDecorations[v19].uEventID ) |