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
4bc76600
Commit
4bc76600
authored
Oct 20, 2009
by
Max-Wilhelm Bruker
Browse files
addCounter bugfix
parent
ae39dc7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/player.cpp
View file @
4bc76600
...
@@ -558,7 +558,7 @@ void Player::gameEvent(const ServerEventData &event)
...
@@ -558,7 +558,7 @@ void Player::gameEvent(const ServerEventData &event)
break
;
break
;
}
}
case
eventAddCounter
:
{
case
eventAddCounter
:
{
if
(
data
.
size
()
!=
4
)
if
(
data
.
size
()
!=
5
)
break
;
break
;
int
counterId
=
data
[
0
].
toInt
();
int
counterId
=
data
[
0
].
toInt
();
QString
counterName
=
data
[
1
];
QString
counterName
=
data
[
1
];
...
...
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