mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
- New Feature: Quick attachment selection (by The_Bob)
o The popup will list attachments available for the given slot on the current weapon. Ones not in sector inventory will be greyed out. o It should show up after clicking on an empty attachment slot, provided these criteria are met: --> we are on the mapscreen --> the sector inventory is open --> the selected merc is in this sector --> there is no combat in this sector git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@4620 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -5502,6 +5502,10 @@ UINT32 MapScreenHandle(void)
|
||||
UpdatePausedStatesDueToTimeCompression( );
|
||||
|
||||
// is there a description to be displayed?
|
||||
// BOB : if we're displaying the attachment popup, don't redraw the IDB
|
||||
if (giActiveAttachmentPopup > -1)
|
||||
gItemDescAttachmentPopups[giActiveAttachmentPopup]->show();
|
||||
else
|
||||
RenderItemDescriptionBox( );
|
||||
|
||||
// render clock
|
||||
|
||||
Reference in New Issue
Block a user