diff options
author | smatz <smatz@openttd.org> | 2008-02-25 02:09:04 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-02-25 02:09:04 +0000 |
commit | 27284db36fe8b903f2ef1f449673e528c578dac2 (patch) | |
tree | a699787d73c65ab628472a184ecb2ab7a0223143 /src | |
parent | f352512c8d2cbbfac3890c0b6c5485e17d249e0f (diff) | |
download | openttd-27284db36fe8b903f2ef1f449673e528c578dac2.tar.xz |
(svn r12244) -Fix (r12150): typo resulting in no players are given the engine preview offer
Diffstat (limited to 'src')
-rw-r--r-- | src/engine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine.cpp b/src/engine.cpp index bd50a9f61..699486c1e 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -218,7 +218,7 @@ static PlayerID GetBestPlayer(uint8 pp) if (best_player == PLAYER_SPECTATOR) return PLAYER_SPECTATOR; SetBit(mask, best_player); - } while (--p != 0); + } while (--pp != 0); return best_player; } |