diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2015-06-26 15:26:38 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2015-06-26 15:35:42 +0200 |
commit | 79a5d1bb793b2b90e84bd5b2f4fa07d21bcc6e56 (patch) | |
tree | 76731e03127369b3d924a4f7394705e37b6fb7ba /src/game | |
parent | 1d197378168a3cb9edbda57899976084a9121e7b (diff) |
Bug fixes for Wraith.
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/bg_pmove.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/game/bg_pmove.c b/src/game/bg_pmove.c index 0d8bfda..4fd73f1 100644 --- a/src/game/bg_pmove.c +++ b/src/game/bg_pmove.c @@ -3857,11 +3857,11 @@ void PM_WraithMechanics( void ) if( pm->ps->stats[ STAT_MISC ] < 0 ) { - if( target && pm->ps->weaponTime <= 0 ) + /*if( target && pm->ps->weaponTime <= 0 ) { PM_AddEvent( EV_NOAMMO ); pm->ps->weaponTime += 500; - } + }*/ target = qfalse; force_exit = qtrue; @@ -3877,11 +3877,11 @@ void PM_WraithMechanics( void ) { if( pm->ps->stats[ STAT_MISC ] < LEVEL1_WARP_MIN_TIME ) { - if( pm->ps->weaponTime <= 0 ) + /*if( pm->ps->weaponTime <= 0 ) { PM_AddEvent( EV_NOAMMO ); pm->ps->weaponTime += 500; - } + }*/ goto done; } @@ -3920,7 +3920,7 @@ done: if( pm->ps->eFlags & EF_WARPING ) { - pm->tracemask = MASK_SOLID; + pm->tracemask = MASK_DEADSOLID; pm->ps->stats[ STAT_MISC ] -= pml.msec; pm->cmd.buttons &= ~BUTTON_ATTACK; } |