summaryrefslogtreecommitdiff
path: root/src/ui/ui_shared.c
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/ui_shared.c
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/ui_shared.c')
-rw-r--r--src/ui/ui_shared.c2
1 files changed, 2 insertions, 0 deletions
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 );
}
}