diff options
author | Tim Angus <tim@ngus.net> | 2004-03-19 05:14:11 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2004-03-19 05:14:11 +0000 |
commit | 5c1b09501fc350415b3f1c028af38e635347782c (patch) | |
tree | 01b1522b747202ddac2beffd17fca62f0bc073d0 /src/game/g_active.c | |
parent | 1eee6be0ea1aeec679cff80fea36a91e6d0c788f (diff) |
* Fixed TA listbox bug where user could select beyond the length of the list
* Hitting K_ENTER when a listbox has focus now invokes its doubleClick handler
* You can't use objects when dead any longer
* Team change broadcast message fixed
Diffstat (limited to 'src/game/g_active.c')
-rw-r--r-- | src/game/g_active.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/g_active.c b/src/game/g_active.c index aeb69cd5..0bbe5c82 100644 --- a/src/game/g_active.c +++ b/src/game/g_active.c @@ -1140,7 +1140,8 @@ void ClientThink_real( gentity_t *ent ) client->buttons = ucmd->buttons; client->latched_buttons |= client->buttons & ~client->oldbuttons; - if( ( client->buttons & BUTTON_GETFLAG ) && !( client->oldbuttons & BUTTON_GETFLAG ) ) + if( ( client->buttons & BUTTON_GETFLAG ) && !( client->oldbuttons & BUTTON_GETFLAG ) && + client->ps.stats[ STAT_HEALTH ] > 0 ) { trace_t trace; vec3_t view, point; |