diff options
Diffstat (limited to 'src/weather.c')
-rw-r--r-- | src/weather.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/weather.c b/src/weather.c index c16faaed8..520185441 100644 --- a/src/weather.c +++ b/src/weather.c @@ -192,7 +192,7 @@ void sub_807CB10(void) { v4 += v11; dunno = v4 - v9; if (dunno > 0) { - v4 -= dunno + ((u16)dunno >> 15) >> 1; + v4 -= (dunno + ((u16)dunno >> 15)) >> 1; } v1[v6][v2] = v4 >> 8; if (v1[v6][v2] > 0x1f) { |