summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2004-01-25 04:52:23 +0000
committerTim Angus <tim@ngus.net>2004-01-25 04:52:23 +0000
commit4bb84115f10466cf6aa9295830f37ff20238dd6c (patch)
tree846ef6822fcf1462ae139f4ee502c917193670a3 /src/ui
parent7dcfcac2a6de7e2976990b8620f660ad7af959a9 (diff)
* 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
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/ui_main.c2
-rw-r--r--src/ui/ui_shared.c2
2 files changed, 2 insertions, 2 deletions
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 );
}
}