Skip to content

Commit

Permalink
removed unused variable pEnemy
Browse files Browse the repository at this point in the history
This variable gets overwritten a few lines later which causes a compiler warning.
  • Loading branch information
Mia75owo authored and drfiemost committed Dec 27, 2023
1 parent 4467e33 commit 2c5596b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Hurrican/src/Projectiles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3969,8 +3969,6 @@ void ProjectileClass::ExplodeShot() {

// Prüfen, ob ein Gegner in der Nähe war und dann je nach Abstand
// Energie abziehen
GegnerClass *pEnemy; // Gegner zum Kollision testen

// je nach bombentyp mehr schaden
int schaden = 80;

Expand Down

0 comments on commit 2c5596b

Please sign in to comment.