diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2015-06-22 01:24:58 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2015-06-22 01:24:58 +0200 |
commit | 451f2ca7c8d832d2691dde2510e613373c312cd1 (patch) | |
tree | 936a5222f7b6ac947561542b48f86c264a6f72d7 /src/game/bg_pmove.c | |
parent | dc87cba52101aa4c6ad94c652460bff8520231bd (diff) |
Remove Basilisk and Advanced Basilisk.
Diffstat (limited to 'src/game/bg_pmove.c')
-rw-r--r-- | src/game/bg_pmove.c | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/src/game/bg_pmove.c b/src/game/bg_pmove.c index 0991bf6..16132c3 100644 --- a/src/game/bg_pmove.c +++ b/src/game/bg_pmove.c @@ -465,14 +465,6 @@ static float PM_CmdScale( usercmd_t *cmd ) else modifier *= CREEP_MODIFIER; } - if( pm->ps->eFlags & EF_POISONCLOUDED ) - { - if( BG_InventoryContainsUpgrade( UP_LIGHTARMOUR, pm->ps->stats ) || - BG_InventoryContainsUpgrade( UP_BATTLESUIT, pm->ps->stats ) ) - modifier *= PCLOUD_ARMOUR_MODIFIER; - else - modifier *= PCLOUD_MODIFIER; - } } if( pm->ps->weapon == WP_ALEVEL4 && pm->ps->pm_flags & PMF_CHARGE ) @@ -3473,14 +3465,6 @@ static void PM_Weapon( void ) pm->ps->weaponTime += 200; return; } - - //hacky special case for acid bomb - if( (pm->ps->weapon == WP_ALEVEL1 || pm->ps->weapon == WP_ALEVEL1_UPG) && !pm->ps->ammo ) - { - pm->ps->weaponTime += 200; - return; - } - pm->ps->generic1 = WPM_TERTIARY; PM_AddEvent( EV_FIRE_WEAPON3 ); @@ -3575,16 +3559,6 @@ static void PM_Weapon( void ) // weapon.cfg switch( pm->ps->weapon ) { - case WP_ALEVEL1_UPG: - case WP_ALEVEL1: - if( attack1 ) - { - num /= RAND_MAX / 6 + 1; - PM_ForceLegsAnim( NSPA_ATTACK1 ); - PM_StartWeaponAnim( WANIM_ATTACK1 + num ); - } - break; - case WP_ALEVEL2_UPG: if( attack2 ) { @@ -3671,13 +3645,7 @@ static void PM_Weapon( void ) if( pm->ps->ammo < 0 ) pm->ps->ammo = 0; } - else if( (pm->ps->weapon == WP_ALEVEL1 || pm->ps->weapon == WP_ALEVEL1_UPG ) && attack3 ) - { - pm->ps->ammo--; - // Stay on the safe side - if( pm->ps->ammo < 0 ) - pm->ps->ammo = 0; - } + //FIXME: predicted angles miss a problem?? if( pm->ps->weapon == WP_CHAINGUN ) { |