Files
@ r25890:31b085404537
Branch filter:
Location: cpp/openttd-patchpack/source/media/openttd.64.png
r25890:31b085404537
6.6 KiB
image/png
Fix 2183fd4d: [NewGRF] Use divide instead of right shift for signed numbers. (#9480)
"For negative a, the value of a >> b is implementation-defined (in most implementations, this performs arithmetic right shift, so that the result remains negative)."
"For negative a, the value of a >> b is implementation-defined (in most implementations, this performs arithmetic right shift, so that the result remains negative)."
![](/cpp/openttd-patchpack/source/raw/31b085404537cd616753c74538437d31c16e1dd8/media/openttd.64.png)