summaryrefslogtreecommitdiff
path: root/src/tgp.h
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2021-08-15 12:14:53 +0200
committerGitHub <noreply@github.com>2021-08-15 12:14:53 +0200
commitee333a954934fee206a65795670d15150178c0f3 (patch)
tree163cc9ccfe6b3929c72987070be7c8a2a415382e /src/tgp.h
parent2183fd4dabe72bd96b264bf8cdb3a2a8be625cf8 (diff)
downloadopenttd-ee333a954934fee206a65795670d15150178c0f3.tar.xz
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)."
Diffstat (limited to 'src/tgp.h')
0 files changed, 0 insertions, 0 deletions