diff options
author | tron <tron@openttd.org> | 2006-06-27 21:25:53 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-06-27 21:25:53 +0000 |
commit | 772fbda3e37488c2bf7beb96d35b2cbe001d9eda (patch) | |
tree | 1bfdb9c99b43fdc3b07ac13cbed4259a06d34f6f /newgrf.c | |
parent | 7fa72c5e2f224243a8c89096f0b07259e05e44cf (diff) | |
download | openttd-772fbda3e37488c2bf7beb96d35b2cbe001d9eda.tar.xz |
(svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
Diffstat (limited to 'newgrf.c')
-rw-r--r-- | newgrf.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -2467,17 +2467,19 @@ static void ParamSet(byte *buf, int len) break; case 0x05: - if ((int32)src2 < 0) + if ((int32)src2 < 0) { res = src1 >> -(int32)src2; - else + } else { res = src1 << src2; + } break; case 0x06: - if ((int32)src2 < 0) + if ((int32)src2 < 0) { res = (int32)src1 >> -(int32)src2; - else + } else { res = (int32)src1 << src2; + } break; case 0x07: /* Bitwise AND */ |