don't share PT
This commit is contained in:
parent
31890450dc
commit
8221d37bbe
1 changed files with 5 additions and 2 deletions
|
@ -126,14 +126,17 @@ void Server_Card::getInfo(ServerInfo_Card *info)
|
||||||
info->set_name(displayedName.toStdString());
|
info->set_name(displayedName.toStdString());
|
||||||
info->set_x(coord_x);
|
info->set_x(coord_x);
|
||||||
info->set_y(coord_y);
|
info->set_y(coord_y);
|
||||||
|
QString ptStr = getPT();
|
||||||
if (facedown)
|
if (facedown)
|
||||||
|
{
|
||||||
info->set_face_down(true);
|
info->set_face_down(true);
|
||||||
|
ptStr = getPT();
|
||||||
|
}
|
||||||
info->set_tapped(tapped);
|
info->set_tapped(tapped);
|
||||||
if (attacking)
|
if (attacking)
|
||||||
info->set_attacking(true);
|
info->set_attacking(true);
|
||||||
if (!color.isEmpty())
|
if (!color.isEmpty())
|
||||||
info->set_color(color.toStdString());
|
info->set_color(color.toStdString());
|
||||||
const QString ptStr = getPT();
|
|
||||||
if (!ptStr.isEmpty())
|
if (!ptStr.isEmpty())
|
||||||
info->set_pt(ptStr.toStdString());
|
info->set_pt(ptStr.toStdString());
|
||||||
if (!annotation.isEmpty())
|
if (!annotation.isEmpty())
|
||||||
|
|
Loading…
Reference in a new issue