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
bf1ae3a3
Commit
bf1ae3a3
authored
Sep 28, 2009
by
Max-Wilhelm Bruker
Browse files
crash fix
parent
adb4edc2
Changes
2
Hide whitespace changes
Inline
Side-by-side
servatrice/src/playerzone.cpp
View file @
bf1ae3a3
...
@@ -58,7 +58,7 @@ Card *PlayerZone::getCard(int id, bool remove, int *position)
...
@@ -58,7 +58,7 @@ Card *PlayerZone::getCard(int id, bool remove, int *position)
}
}
return
NULL
;
return
NULL
;
}
else
{
}
else
{
if
(
id
>=
cards
.
size
())
if
(
(
id
>=
cards
.
size
())
||
(
id
<
0
))
return
NULL
;
return
NULL
;
Card
*
tmp
=
cards
[
id
];
Card
*
tmp
=
cards
[
id
];
if
(
remove
)
if
(
remove
)
...
...
servatrice/src/version.h
View file @
bf1ae3a3
...
@@ -19,4 +19,4 @@
...
@@ -19,4 +19,4 @@
***************************************************************************/
***************************************************************************/
static
const
int
PROTOCOL_VERSION
=
1
;
static
const
int
PROTOCOL_VERSION
=
1
;
static
const
char
*
VERSION_STRING
=
"Servatrice 0.2009092
5
"
;
static
const
char
*
VERSION_STRING
=
"Servatrice 0.2009092
8
"
;
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