Skip to content

Commit

Permalink
make it actually compile
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya246 committed Apr 24, 2023
1 parent 4bf9c95 commit 9dec48a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ int main(int argc, char** argv) {
break;
}
}
if (closest * e->fuel / e->startingFuel > sweepThreshold) {
if (closest * ((Projectile*)e)->fuel / ((Projectile*)e)->startingFuel > sweepThreshold) {
e->active = false;
}
}
Expand Down

0 comments on commit 9dec48a

Please sign in to comment.