From 618b1c1f8a7a01470afe734b0a41da078ec06d6a Mon Sep 17 00:00:00 2001 From: Flugente Date: Thu, 27 Feb 2014 23:14:30 +0000 Subject: [PATCH] Merged revision(s) 6995 from branches/ja2_source_official_2014: Enemy taunt boxes now appear a bit above a soldier, to not interfere with aiming. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6996 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Tactical/Civ Quotes.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tactical/Civ Quotes.cpp b/Tactical/Civ Quotes.cpp index 5d0d86676..d43953fc6 100644 --- a/Tactical/Civ Quotes.cpp +++ b/Tactical/Civ Quotes.cpp @@ -1965,7 +1965,8 @@ void ShowTauntPopupBox( SOLDIERTYPE *pCiv, STR16 gzTauntQuote ) // Get location of civ on screen..... GetSoldierScreenPos( pCiv, &sScreenX, &sScreenY ); sX = sScreenX; - sY = sScreenY; + // Flugente: have the box appear a bit above the soldier. Otherwise it will obstruct us from aiming at him, which is annoying if it happens very often + sY = sScreenY - 40; // Create video oeverlay.... memset( &VideoOverlayDesc, 0, sizeof( VIDEO_OVERLAY_DESC ) );