From 4bb84115f10466cf6aa9295830f37ff20238dd6c Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sun, 25 Jan 2004 04:52:23 +0000 Subject: * Fixed two serious particle system bugs * Created a general buildable think function * Fixed the post armoury weapon selection for real * Balance tweaks * A pile of other crap --- src/ui/ui_main.c | 2 -- src/ui/ui_shared.c | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui') diff --git a/src/ui/ui_main.c b/src/ui/ui_main.c index 7401d000..4fb2ecf3 100644 --- a/src/ui/ui_main.c +++ b/src/ui/ui_main.c @@ -3632,8 +3632,6 @@ static void UI_LoadTremAlienBuilds( ) uiInfo.tremAlienBuildCount++; } } - - uiInfo.tremAlienBuildIndex = 0; } /* diff --git a/src/ui/ui_shared.c b/src/ui/ui_shared.c index 90286152..008bd5c0 100644 --- a/src/ui/ui_shared.c +++ b/src/ui/ui_shared.c @@ -4418,7 +4418,9 @@ menuDef_t *Menus_ActivateByName(const char *p) { { if( m->items[ j ]->type == ITEM_TYPE_LISTBOX ) { + listBoxDef_t *listPtr = (listBoxDef_t*)m->items[ j ]->typeData; m->items[ j ]->cursorPos = 0; + listPtr->startPos = 0; DC->feederSelection( m->items[ j ]->special, 0 ); } } -- cgit