-
Notifications
You must be signed in to change notification settings - Fork 565
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# About the pull request ![image](https://github.com/cmss13-devs/cmss13/assets/14267245/f04d12d5-ce42-493b-814a-a22a2e56fbd2) https://www.byond.com/docs/ref/#/operator/%25%25 With the move to 515, removes this define in favor of `x %% y`: `#define MODULUS(x, y) ( (x) - (y) * round((x) / (y)) )` And this one in favor of `x %% 360`: `#define SIMPLIFY_DEGREES(degrees) (MODULUS((degrees), 360))` <!-- Remove this text and explain what the purpose of your PR is. Mention if you have tested your changes. If you changed a map, make sure you used the mapmerge tool. If this is an Issue Correction, you can type "Fixes Issue #169420" to link the PR to the corresponding Issue number #169420. Remember: something that is self-evident to you might not be to others. Explain your rationale fully, even if you feel it goes without saying. --> # Explain why it's good for the game Less bespoke code means less points of failure. # Testing Photographs and Procedure Boots without obvious issue. # Changelog No player-facing changes.
- Loading branch information
Showing
4 changed files
with
5 additions
and
12 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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