summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2003-08-12 22:12:04 +0000
committerTim Angus <tim@ngus.net>2003-08-12 22:12:04 +0000
commita2b05468b75fed034e54cc79615c07fb2d3d6486 (patch)
treedb0dd75a60dde04a96133fc53d7ec7e985e490c8 /src/ui
parentd8289eef899a0be82afbe22501f39f20e5b25d90 (diff)
* Bug fix to listbox reset feature
* Client side creep significantly reworked * MinNormal is actually tested for now * Overmind no longer attacks after dying * Some internal hivemind->overmind confusion fixups
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/ui_shared.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/ui_shared.c b/src/ui/ui_shared.c
index 5b0e8e30..90286152 100644
--- a/src/ui/ui_shared.c
+++ b/src/ui/ui_shared.c
@@ -4417,7 +4417,10 @@ menuDef_t *Menus_ActivateByName(const char *p) {
for( j = 0; j < m->itemCount; j++ ) //TA: reset selection in listboxes when opened
{
if( m->items[ j ]->type == ITEM_TYPE_LISTBOX )
+ {
m->items[ j ]->cursorPos = 0;
+ DC->feederSelection( m->items[ j ]->special, 0 );
+ }
}
if (openMenuCount < MAX_OPEN_MENUS && focus != NULL) {