Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
6b18ba6b
Commit
6b18ba6b
authored
Nov 13, 2011
by
Max-Wilhelm Bruker
Browse files
concession fix
parent
3ea07292
Changes
1
Show whitespace changes
Inline
Side-by-side
common/server_game.cpp
View file @
6b18ba6b
...
@@ -191,8 +191,11 @@ void Server_Game::stopGameIfFinished()
...
@@ -191,8 +191,11 @@ void Server_Game::stopGameIfFinished()
gameStarted
=
false
;
gameStarted
=
false
;
playerIterator
.
toFront
();
playerIterator
.
toFront
();
while
(
playerIterator
.
hasNext
())
while
(
playerIterator
.
hasNext
())
{
playerIterator
.
next
().
value
()
->
clearZones
();
Server_Player
*
p
=
playerIterator
.
next
().
value
();
p
->
clearZones
();
p
->
setConceded
(
false
);
}
playerIterator
.
toFront
();
playerIterator
.
toFront
();
while
(
playerIterator
.
hasNext
())
{
while
(
playerIterator
.
hasNext
())
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment