Last active
August 29, 2015 14:08
-
-
Save labeneator/8129c1ad42fe814b93ce to your computer and use it in GitHub Desktop.
Patch to enable xpilot to build on osx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/server/suibotdef.c b/src/server/suibotdef.c | |
| index 494f73f..d5202e3 100644 | |
| --- a/src/server/suibotdef.c | |
| +++ b/src/server/suibotdef.c | |
| @@ -405,7 +405,7 @@ static bool Get_object_proximity(player_t *pl, object_t *shot, double sqmaxdist, | |
| /* ignore if there is enough time to deal with this object later */ | |
| if((time_until_closest < 0) || (time_until_closest > maxtime)) | |
| /*option instead of fixed value: options.dodgetime))*/ | |
| + return false; | |
| - return; | |
| /* get the square of the distance */ | |
| sqdistance = |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment