# HG changeset patch
# User Ritor1
# Date 1383934518 -21600
# Node ID 591024ad7269a2cd070a28ffea5ebb587143ebf9
# Parent 664146d9b101e8290f0639a4a2b9853cdabd06b9
Footer text for items fix
diff -r 664146d9b101 -r 591024ad7269 Build/Visual Studio 2012/World of Might and Magic.vcxproj
--- a/Build/Visual Studio 2012/World of Might and Magic.vcxproj Fri Nov 08 12:46:51 2013 +0000
+++ b/Build/Visual Studio 2012/World of Might and Magic.vcxproj Sat Nov 09 00:15:18 2013 +0600
@@ -165,6 +165,7 @@
+
diff -r 664146d9b101 -r 591024ad7269 Build/Visual Studio 2012/World of Might and Magic.vcxproj.filters
--- a/Build/Visual Studio 2012/World of Might and Magic.vcxproj.filters Fri Nov 08 12:46:51 2013 +0000
+++ b/Build/Visual Studio 2012/World of Might and Magic.vcxproj.filters Sat Nov 09 00:15:18 2013 +0600
@@ -298,6 +298,7 @@
+
diff -r 664146d9b101 -r 591024ad7269 UI/UiGame.cpp
--- a/UI/UiGame.cpp Fri Nov 08 12:46:51 2013 +0000
+++ b/UI/UiGame.cpp Sat Nov 09 00:15:18 2013 +0600
@@ -1222,8 +1222,18 @@
uLastPointedObjectID = pMouse->uPointingObjectID;
return;
}
- v28 = pTmpBuf.data();
sprintfex(pTmpBuf.data(), pGlobalTXT_LocalizationStrings[470], pSpriteObjects[v19].stru_24.GetDisplayName());// "Get %s"
+ GameUI_SetFooterString(pTmpBuf.data());
+ if ( pMouse->uPointingObjectID == 0 )
+ {
+ if ( uLastPointedObjectID != 0 )
+ {
+ pFooterString[0] = 0;
+ bForceDrawFooter = 1;
+ }
+ }
+ uLastPointedObjectID = pMouse->uPointingObjectID;
+ return;
}
//For Decorations----------------------------------
if (PID_TYPE(v18) == OBJECT_Decoration)