Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't limit server max sides #333

Merged
merged 3 commits into from
Nov 16, 2014
Merged

don't limit server max sides #333

merged 3 commits into from
Nov 16, 2014

Conversation

gfgtdf
Copy link
Contributor

@gfgtdf gfgtdf commented Nov 15, 2014

there are 2 reasons why the maximum side number is limited in some
contexts:

  1. The map format can only store 9 starting positions
  2. only the first 9 sides have default colors.

However, 'color' and 'starting position' are both sideproperties that
can explicitly given by wml if needed. And the server doesn't use any of
them, so i see no reason why the server should reject them.

there are 2 reasons why the maximum side number is limited in some
contexts:
1) The map format can only store 9 starting positions
2) only the first 9 sides have default colors.

However, 'color' and 'starting position' are both sideproperties that
can explicitly given by wml if needed. And the server doesn't use any of
them, so i see no reason why the server should reject those games.
i actualy didnt test whether this casues bugs. But we use color to set
the value of combo_color_ combobox which has only MAX_PLAYER number of
options.
gfgtdf added a commit that referenced this pull request Nov 16, 2014
@gfgtdf gfgtdf merged commit 50d2b13 into wesnoth:master Nov 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant