Closed DeeJayLSP closed 1 year ago
posmod() does the same thing as wrapi() by assuming the min arg is 0. Since only zeroes are used as args here, it's better to change to that.
posmod()
wrapi()
min
0
Also compressed 10 lines of code related to directional input into a single one (thanks to 3.4) that does the exact same thing to reduce if pollution.
if
posmod()
does the same thing aswrapi()
by assuming themin
arg is0
. Since only zeroes are used as args here, it's better to change to that.Also compressed 10 lines of code related to directional input into a single one (thanks to 3.4) that does the exact same thing to reduce
if
pollution.