mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 00:24:47 -07:00
single player fix
This commit is contained in:
parent
135fed79ca
commit
a5f678bc3d
7 changed files with 14 additions and 8 deletions
|
|
@ -337,7 +337,7 @@ public:
|
|||
class Event_PlayerPropertiesChanged : public GameEvent {
|
||||
Q_OBJECT
|
||||
public:
|
||||
Event_PlayerPropertiesChanged(ServerInfo_PlayerProperties *_properties = 0);
|
||||
Event_PlayerPropertiesChanged(int _playerId = -1, ServerInfo_PlayerProperties *_properties = 0);
|
||||
static SerializableItem *newItem() { return new Event_PlayerPropertiesChanged; }
|
||||
int getItemId() const { return ItemId_Event_PlayerPropertiesChanged; }
|
||||
ServerInfo_PlayerProperties *getProperties() const { return static_cast<ServerInfo_PlayerProperties *>(itemMap.value("player_properties")); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue