OpenSWE1R / openswe1r

An Open-Source port of the 1999 Game "Star Wars Episode 1: Racer"
https://openswe1r.github.io/
GNU General Public License v2.0
315 stars 26 forks source link

`hacky_printf` should return a void #137

Open JayFoxRox opened 6 years ago

JayFoxRox commented 6 years ago

Currently, when turning off the hacky_printf function using the preprocessor, it will result in not returning a value in a function returning an int. The return value should never be used anyway as no meaningful value can be returned when the function is disabled. So the return type should be changed.