Mercurial > mm7
changeset 2400:ecd1dd95ec49
fixing 2 polishing bugs in GameUI_WritePointedObjectStatusString
author | Grumpy7 |
---|---|
date | Thu, 10 Jul 2014 01:48:39 +0200 |
parents | aad4f31aa297 |
children | f794566045cd 8cee51ce4382 |
files | UI/UiGame.cpp |
diffstat | 1 files changed, 3 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/UI/UiGame.cpp Thu Jul 10 01:37:41 2014 +0200 +++ b/UI/UiGame.cpp Thu Jul 10 01:48:39 2014 +0200 @@ -1203,11 +1203,8 @@ if ( pObjectList->pObjects[pSpriteObjects[pickedObjectID].uObjectDescID].uFlags & 0x10 ) { pMouse->uPointingObjectID = 0; - if ( uLastPointedObjectID != 0 ) - { - pFooterString[0] = 0; - bForceDrawFooter = 1; - } + pFooterString[0] = 0; + bForceDrawFooter = 1; uLastPointedObjectID = 0; return; } @@ -1268,6 +1265,7 @@ } if (newString) { + GameUI_SetFooterString(newString); if ( pMouse->uPointingObjectID == 0 && uLastPointedObjectID != 0) { pFooterString[0] = 0;