Closed yamachu closed 7 years ago
Thank you for your request. Since the function abs() often causes bugs, I would like to propose the use of an original function MyAbsInt().
static inline int MyAbsInt(int x) { return x > 0 ? x : -x; }
Is this idea ok?
looks good to me :+1:
Thank you very much. I updated harvest.cpp.
Error occurred when compiling src/harvest.cpp
build environment
same error occurred on macOS
not checked on Windows...
and I tried use commit https://github.com/mmorise/World/commit/d6f8c56a7e2c3701b5ac468dc9fcd3d3928d1ce1 , it works.