From a2b05468b75fed034e54cc79615c07fb2d3d6486 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Tue, 12 Aug 2003 22:12:04 +0000 Subject: * 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 --- src/ui/ui_shared.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ui') 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) { -- cgit