summaryrefslogtreecommitdiff
path: root/src/game/bg_misc.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2003-12-24 03:08:49 +0000
committerTim Angus <tim@ngus.net>2003-12-24 03:08:49 +0000
commit988e67ce2a9c9eea540f6907b6fede1b70a3f3ae (patch)
tree274298833d56941fddb0f63258543c3e0f099d33 /src/game/bg_misc.c
parentcdb8781108f8a7665f9b0bbd990e51b5e86449b1 (diff)
* Added a creep projection under a locked human
* Removed some debug messages * Severely cut down on static memory usage (130Mb)
Diffstat (limited to 'src/game/bg_misc.c')
-rw-r--r--src/game/bg_misc.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/game/bg_misc.c b/src/game/bg_misc.c
index 643b2433..4eb0e9d9 100644
--- a/src/game/bg_misc.c
+++ b/src/game/bg_misc.c
@@ -4360,6 +4360,11 @@ void BG_PlayerStateToEntityState( playerState_t *ps, entityState_t *s, qboolean
else
s->eFlags &= ~EF_DEAD;
+ if( ps->stats[ STAT_STATE ] & SS_BLOBLOCKED )
+ s->eFlags |= EF_BLOBLOCKED;
+ else
+ s->eFlags &= ~EF_BLOBLOCKED;
+
if( ps->externalEvent )
{
s->event = ps->externalEvent;
@@ -4464,6 +4469,11 @@ void BG_PlayerStateToEntityStateExtraPolate( playerState_t *ps, entityState_t *s
else
s->eFlags &= ~EF_DEAD;
+ if( ps->stats[ STAT_STATE ] & SS_BLOBLOCKED )
+ s->eFlags |= EF_BLOBLOCKED;
+ else
+ s->eFlags &= ~EF_BLOBLOCKED;
+
if( ps->externalEvent )
{
s->event = ps->externalEvent;