Skip to content

Commit

Permalink
fix sweep
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya246 committed Sep 3, 2023
1 parent eb4e8b9 commit c5062bb
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 @@ -443,7 +443,7 @@ int main(int argc, char** argv) {

if (authority && lastSweep + projectileSweepSpacing < globalTime) {
for (Entity* e : updateGroup) {
if (e->type() != Entities::Projectile || e->type() != Entities::Missile) {
if (e->type() != Entities::Projectile && e->type() != Entities::Missile) {
continue;
}
double closest = DBL_MAX;
Expand Down

0 comments on commit c5062bb

Please sign in to comment.