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
30949411
Commit
30949411
authored
Aug 02, 2014
by
Waleed Khan
Browse files
Fix #248: the token dialog generates cards irrespective of their case and punctation.
parent
ffed0e00
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/player.cpp
View file @
30949411
...
...
@@ -959,6 +959,10 @@ void Player::actCreateToken()
return
;
lastTokenName
=
dlg
.
getName
();
if
(
CardInfo
*
correctedCard
=
db
->
getCardBySimpleName
(
lastTokenName
,
false
))
{
lastTokenName
=
correctedCard
->
getName
();
}
lastTokenColor
=
dlg
.
getColor
();
lastTokenPT
=
dlg
.
getPT
();
lastTokenAnnotation
=
dlg
.
getAnnotation
();
...
...
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