Skip to content

Commit

Permalink
CheckIfTrig bin exact suggestion #1
Browse files Browse the repository at this point in the history
Co-Authored-By: qndel <stefan551@o2.pl>
  • Loading branch information
AJenbo and qndel authored Mar 14, 2019
1 parent 753257d commit 2652d8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/missiles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2186,7 +2186,7 @@ BOOL __fastcall CheckIfTrig(int x, int y)
if ((x == trigs[i]._tx && y == trigs[i]._ty) || (abs(trigs[i]._tx - x) < 2 && abs(trigs[i]._ty - y) < 2))
return 1;
}
return 0;
return FALSE;
}

void __fastcall AddTown(int mi, int sx, int sy, int dx, int dy, int midir, int mienemy, int id, int dam)
Expand Down

0 comments on commit 2652d8a

Please # to comment.