diff options
author | shfil <filip.gawin@zoho.com> | 2020-05-12 23:42:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-12 23:42:52 +0200 |
commit | bd8a0e73056ae11f113c6859fecc3fbe3376dc0b (patch) | |
tree | cf51d6ab8430cd186e02f0e8105004f8e5476728 /src/weapons/Weapon.cpp | |
parent | fix shotgun (diff) | |
parent | Fix linux warnings (diff) | |
download | re3-bd8a0e73056ae11f113c6859fecc3fbe3376dc0b.tar re3-bd8a0e73056ae11f113c6859fecc3fbe3376dc0b.tar.gz re3-bd8a0e73056ae11f113c6859fecc3fbe3376dc0b.tar.bz2 re3-bd8a0e73056ae11f113c6859fecc3fbe3376dc0b.tar.lz re3-bd8a0e73056ae11f113c6859fecc3fbe3376dc0b.tar.xz re3-bd8a0e73056ae11f113c6859fecc3fbe3376dc0b.tar.zst re3-bd8a0e73056ae11f113c6859fecc3fbe3376dc0b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/weapons/Weapon.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/weapons/Weapon.cpp b/src/weapons/Weapon.cpp index 3ac769d7..67e01a2e 100644 --- a/src/weapons/Weapon.cpp +++ b/src/weapons/Weapon.cpp @@ -806,6 +806,7 @@ CWeapon::FireInstantHit(CEntity *shooter, CVector *fireSource) break; } + default: break; } DoBulletImpact(shooter, victim, fireSource, &target, &point, ahead); @@ -1070,6 +1071,7 @@ CWeapon::DoBulletImpact(CEntity *shooter, CEntity *victim, break; } + default: break; } } @@ -1101,6 +1103,7 @@ CWeapon::DoBulletImpact(CEntity *shooter, CEntity *victim, PlayOneShotScriptObject(SCRIPT_SOUND_BULLET_HIT_GROUND_3, point->point); break; } + default: break; } } else @@ -1328,6 +1331,7 @@ CWeapon::FireShotgun(CEntity *shooter, CVector *fireSource) break; } + default: break; } } @@ -1359,6 +1363,7 @@ CWeapon::FireShotgun(CEntity *shooter, CVector *fireSource) PlayOneShotScriptObject(SCRIPT_SOUND_BULLET_HIT_GROUND_3, point.point); break; } + default: break; } } else @@ -1768,6 +1773,7 @@ CWeapon::FireInstantHitFromCar(CAutomobile *shooter, bool left) PlayOneShotScriptObject(SCRIPT_SOUND_BULLET_HIT_GROUND_3, point.point); break; } + default: break; } } else @@ -2037,6 +2043,7 @@ CWeapon::Update(int32 audioEntity) break; } + default: break; } } @@ -2131,6 +2138,7 @@ FireOneInstantHitRound(CVector *source, CVector *target, int32 damage) PlayOneShotScriptObject(SCRIPT_SOUND_BULLET_HIT_GROUND_3, point.point); break; } + default: break; } } else |