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
f568a4e8
Commit
f568a4e8
authored
Dec 30, 2015
by
Zach H
Browse files
todo
parent
703ff790
Changes
1
Show whitespace changes
Inline
Side-by-side
cockatrice/src/player.cpp
View file @
f568a4e8
...
@@ -1138,6 +1138,7 @@ void Player::actCreateRelatedCard()
...
@@ -1138,6 +1138,7 @@ void Player::actCreateRelatedCard()
CardInfo
*
cardInfo
=
db
->
getCard
(
action
->
text
());
CardInfo
*
cardInfo
=
db
->
getCard
(
action
->
text
());
// get the target token's location
// get the target token's location
// TODO: Define this QPoint into its own function along with the one below
QPoint
gridPoint
=
QPoint
(
-
1
,
table
->
clampValidTableRow
(
2
-
cardInfo
->
getTableRow
()));
QPoint
gridPoint
=
QPoint
(
-
1
,
table
->
clampValidTableRow
(
2
-
cardInfo
->
getTableRow
()));
// create the token for the related card
// create the token for the related card
...
...
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