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 committed Dec 26, 2023
1 parent 4467e33 commit 82e7032
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 82e7032

Please sign in to comment.