[Player] Pull handVisible out of player_info and let graphics_item just determine this on its own.

Took 12 minutes


Took 15 seconds
This commit is contained in:
Lukas Brübach 2026-05-19 10:50:23 +02:00
parent 7a5b2e9f0e
commit f9612eb392
4 changed files with 9 additions and 20 deletions

View file

@ -1,7 +1,7 @@
#include "player_info.h"
PlayerInfo::PlayerInfo(const ServerInfo_User &info, int _id, bool _local, bool _judge)
: id(_id), local(_local), judge(_judge), handVisible(false)
: id(_id), local(_local), judge(_judge)
{
userInfo = new ServerInfo_User;
userInfo->CopyFrom(info);