diff --git a/Strategic/Map Screen Interface Map Inventory.cpp b/Strategic/Map Screen Interface Map Inventory.cpp index 0eaedd8e..2b43d5fa 100644 --- a/Strategic/Map Screen Interface Map Inventory.cpp +++ b/Strategic/Map Screen Interface Map Inventory.cpp @@ -1705,16 +1705,23 @@ void MapInventoryPoolDoneBtn( GUI_BUTTON *btn, INT32 reason ) { if(reason & MSYS_CALLBACK_REASON_LBUTTON_DWN ) { - btn->uiFlags|=(BUTTON_CLICKED_ON); + btn->uiFlags|=(BUTTON_CLICKED_ON); } else if(reason & MSYS_CALLBACK_REASON_LBUTTON_UP ) - { - if (btn->uiFlags & BUTTON_CLICKED_ON) + { + if (btn->uiFlags & BUTTON_CLICKED_ON) { - btn->uiFlags&=~(BUTTON_CLICKED_ON); + btn->uiFlags&=~(BUTTON_CLICKED_ON); - // done - fShowMapInventoryPool = FALSE; + if (gfInItemDescBox) + { + DoMapMessageBox( MSG_BOX_BASIC_STYLE, gzLateLocalizedString[64], MAP_SCREEN, MSG_BOX_FLAG_OK, NULL ); + } + else + { + // done + fShowMapInventoryPool = FALSE; + } } } } diff --git a/Utils/_ChineseText.cpp b/Utils/_ChineseText.cpp index 1f68f308..3e4e1b51 100644 --- a/Utils/_ChineseText.cpp +++ b/Utils/_ChineseText.cpp @@ -5963,6 +5963,8 @@ STR16 gzLateLocalizedString[] = L"%s的陶瓷片已经粉碎了!", //"%s's ceramic plates have been smashed!", L"%s多打了%d发子弹!", //"%s fires %d more rounds than intended!", L"%s多打了1发子弹!", //"%s fires %d more round than intended!", + + L"You need to close the item description box first!", // TODO.Translate }; // HEADROCK HAM 3.5: Added sector name diff --git a/Utils/_DutchText.cpp b/Utils/_DutchText.cpp index fd3aa338..b95dc1a6 100644 --- a/Utils/_DutchText.cpp +++ b/Utils/_DutchText.cpp @@ -5964,6 +5964,8 @@ STR16 gzLateLocalizedString[] = L"%s's armour attachment has been smashed!", L"%s fires %d more rounds than intended!", L"%s fires one more round than intended!", + + L"You need to close the item description box first!", // TODO.Translate }; STR16 gzCWStrings[] = diff --git a/Utils/_EnglishText.cpp b/Utils/_EnglishText.cpp index 8771613a..db233888 100644 --- a/Utils/_EnglishText.cpp +++ b/Utils/_EnglishText.cpp @@ -5961,6 +5961,8 @@ STR16 gzLateLocalizedString[] = L"%s's armour attachment has been smashed!", L"%s fires %d more rounds than intended!", L"%s fires one more round than intended!", + + L"You need to close the item description box first!", }; // HEADROCK HAM 3.5: Added sector name diff --git a/Utils/_FrenchText.cpp b/Utils/_FrenchText.cpp index 64587e7f..6d643c5b 100644 --- a/Utils/_FrenchText.cpp +++ b/Utils/_FrenchText.cpp @@ -5946,6 +5946,8 @@ STR16 gzLateLocalizedString[] = L"%s: attachement de protection détruit !", L"%s tire %d fois de plus que prévu !", L"%s tire 1 fois de plus que prévu !", + + L"You need to close the item description box first!", // TODO.Translate }; STR16 gzCWStrings[] = diff --git a/Utils/_GermanText.cpp b/Utils/_GermanText.cpp index d5d5d444..cc0a4063 100644 --- a/Utils/_GermanText.cpp +++ b/Utils/_GermanText.cpp @@ -5793,6 +5793,8 @@ STR16 gzLateLocalizedString[] = L"%s's Rüstungsverstärkung wurde zertrümmert!", L"%s feuert %d Schüsse mehr als beabsichtigt!", L"%s feuert einen Schuss mehr als beabsichtigt!", + + L"Sie müssen zuerst das Gegenstandsbeschreibungsfenster schließen!", // TODO.Translate }; STR16 gzCWStrings[] = diff --git a/Utils/_ItalianText.cpp b/Utils/_ItalianText.cpp index b34c7ba4..c2865297 100644 --- a/Utils/_ItalianText.cpp +++ b/Utils/_ItalianText.cpp @@ -5953,6 +5953,8 @@ STR16 gzLateLocalizedString[] = L"%s's armour attachment has been smashed!", L"%s fires %d more rounds than intended!", L"%s fires one more round than intended!", + + L"You need to close the item description box first!", // TODO.Translate }; STR16 gzCWStrings[] = diff --git a/Utils/_PolishText.cpp b/Utils/_PolishText.cpp index 4d6b6d2d..00a920ce 100644 --- a/Utils/_PolishText.cpp +++ b/Utils/_PolishText.cpp @@ -5959,6 +5959,8 @@ STR16 gzLateLocalizedString[] = L"%s: dodatki do pancerza zostały zniszczone!", L"%s wystrzelił(a) %d pocisk(ów) więcej niż to było zamierzone!", L"%s wystrzelił(a) 1 pocisk(ów) więcej niż to było zamierzone!", + + L"You need to close the item description box first!", // TODO.Translate }; STR16 gzCWStrings[] = diff --git a/Utils/_RussianText.cpp b/Utils/_RussianText.cpp index a14573b4..a1e0ca37 100644 --- a/Utils/_RussianText.cpp +++ b/Utils/_RussianText.cpp @@ -5939,6 +5939,8 @@ STR16 gzLateLocalizedString[] = L"%s чувствует что в бронежилете что-то треснуло!", L"%s выпустил на %d больше пуль!", L"%s выпустил на одну пулю больше!", + + L"You need to close the item description box first!", // TODO.Translate }; STR16 gzCWStrings[] = diff --git a/Utils/_TaiwaneseText.cpp b/Utils/_TaiwaneseText.cpp index efa28cd0..a1332350 100644 --- a/Utils/_TaiwaneseText.cpp +++ b/Utils/_TaiwaneseText.cpp @@ -5966,6 +5966,8 @@ STR16 gzLateLocalizedString[] = L"%s's armour attachment has been smashed!", L"%s fires %d more rounds than intended!", L"%s fires one more round than intended!", + + L"You need to close the item description box first!", // TODO.Translate }; STR16 gzCWStrings[] =