diff options
author | Patric Stout <truebrain@openttd.org> | 2021-06-11 00:18:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-11 00:18:20 +0200 |
commit | ef25afd55ab868a4322d0c241b5c4898966ac919 (patch) | |
tree | d2741bdd0973cf374993fbf4d1a203aa9d79e519 /src/script/api/script_priorityqueue.hpp | |
parent | acb6348ba62337d7580397d8f858e4a0bd1b0cab (diff) | |
download | openttd-ef25afd55ab868a4322d0c241b5c4898966ac919.tar.xz |
Fix #9348, 4d74e51: don't try to sell shares of spectators (#9349)
"new_owner" can be INVALID_OWNER, and as INVALID_OWNER ==
COMPANY_SPECTATORS, we could end up trying to sell shares of
nobody.
Diffstat (limited to 'src/script/api/script_priorityqueue.hpp')
0 files changed, 0 insertions, 0 deletions