Fixed bug #562548: Number of opponents doesn't matter
This commit is contained in:
parent
9781a200b8
commit
4b8c174c41
2 changed files with 9 additions and 4 deletions
|
@ -826,18 +826,20 @@
|
|||
(from Josef Spillner).
|
||||
<LI>MacOS compile fixed and project builder project added (from Ben Hines).
|
||||
<LI>Fixed bug: Server now sends the map path relative to the data
|
||||
directory (from Jimmy Salmon).
|
||||
directory (from Jimmy Salmon).
|
||||
<LI>Fixed bug #561203: Who is speaking in 3 player game (from Jimmy Salmon).
|
||||
<LI>Fixed bug: Chat messages that are too wide are wrapped (from
|
||||
Jimmy Salmon).
|
||||
Jimmy Salmon).
|
||||
<LI>Fixed bug: Right clicking a wall will attack it now (from Jimmy Salmon).
|
||||
<LI>Fixed bug #562444: Disable fog of war in menus in net game (from
|
||||
Jimmy Salmon).
|
||||
Jimmy Salmon).
|
||||
<LI>Implemented task #38320: Making screen shots (from Jimmy Salmon).
|
||||
<LI>Fixed bug #528207: Fog of war is not correct (from Jimmy Salmon).
|
||||
<LI>Fixed bug in server menu where the Start Game button was deactivated
|
||||
(from Jimmy Salmon).
|
||||
(from Jimmy Salmon).
|
||||
<LI>Added ALT+CTRL+S to save the current level as pud "freecraft.pud.gz".
|
||||
<LI>Fixed bug #562548: Number of opponents doesn't matter (from
|
||||
Jimmy Salmon).
|
||||
</UL>
|
||||
</UL>
|
||||
|
||||
|
|
|
@ -852,6 +852,9 @@ global void LoadPud(const char* pud,WorldMap* map)
|
|||
// Single player games only:
|
||||
// ARI: FIXME: convert to a preset array to share with network game code
|
||||
if (GameSettings.Opponents != SettingsPresetMapDefault) {
|
||||
if (p == PlayerPerson && ThisPlayer != NULL) {
|
||||
p = PlayerComputer;
|
||||
}
|
||||
if (p == PlayerComputer) {
|
||||
if (aiopps < GameSettings.Opponents) {
|
||||
aiopps++;
|
||||
|
|
Loading…
Add table
Reference in a new issue