summaryrefslogtreecommitdiff
path: root/src/table/build_industry.h
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-06-17 20:22:57 +0200
committerGitHub <noreply@github.com>2021-06-17 20:22:57 +0200
commitcf865597f8f14c56e96b22b9a7fef1b693fbcb08 (patch)
treef9792d33d19984f67c8514e9223a06a8ee4c08ee /src/table/build_industry.h
parentb45c006ab9bdfb92fa6be66dcfa00099adbb85a8 (diff)
downloadopenttd-cf865597f8f14c56e96b22b9a7fef1b693fbcb08.tar.xz
Fix: don't propagate shift/ctrl state till next game-tick (#9381)
When the game-loop is very slow, it was easily possible to start the loop with _shift_pressed being false, but end with _shift_pressed being true. This doesn't hurt the game as such, but for the user this can be very weird: I pressed "Buy Vehicle", pressed shift a bit later, and I still get a cost indication.
Diffstat (limited to 'src/table/build_industry.h')
0 files changed, 0 insertions, 0 deletions