Skip to content

Commit

Permalink
[SP] Minor fix to blaster alt fire damage check.
Browse files Browse the repository at this point in the history
The damage values are same, so no changes to the gameplay.
  • Loading branch information
ensiform committed Dec 30, 2014
1 parent 51212c1 commit 6099a80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/wp_blaster_rifle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ void WP_FireBlasterMissile( gentity_t *ent, vec3_t start, vec3_t dir, qboolean a
//---------------------------------------------------------
{
int velocity = BLASTER_VELOCITY;
int damage = altFire ? weaponData[WP_BLASTER].damage : weaponData[WP_BLASTER].damage;
int damage = altFire ? weaponData[WP_BLASTER].altDamage : weaponData[WP_BLASTER].damage;

if ( ent && ent->client && ent->client->NPC_class == CLASS_VEHICLE )
{
Expand Down

0 comments on commit 6099a80

Please sign in to comment.