diff options
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/partyhandler.h | 2 | ||||
-rw-r--r-- | src/net/tmwa/playerhandler.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/net/tmwa/partyhandler.h b/src/net/tmwa/partyhandler.h index 27f4993a8..352e57d7d 100644 --- a/src/net/tmwa/partyhandler.h +++ b/src/net/tmwa/partyhandler.h @@ -43,7 +43,7 @@ class PartyHandler final : public MessageHandler, public Ea::PartyHandler void handleMessage(Net::MessageIn &msg); - void create(const std::string &name = ""); + void create(const std::string &name); void invite(Being *being); diff --git a/src/net/tmwa/playerhandler.h b/src/net/tmwa/playerhandler.h index bc54834f1..8aab78738 100644 --- a/src/net/tmwa/playerhandler.h +++ b/src/net/tmwa/playerhandler.h @@ -42,7 +42,7 @@ class PlayerHandler final : public MessageHandler, public Ea::PlayerHandler void handleMessage(Net::MessageIn &msg); - void attack(int id, bool keep = false); + void attack(int id, bool keep); void stopAttack(); void emote(uint8_t emoteId); @@ -51,7 +51,7 @@ class PlayerHandler final : public MessageHandler, public Ea::PlayerHandler void pickUp(const FloorItem *floorItem); void setDirection(unsigned char direction); - void setDestination(int x, int y, int direction = -1); + void setDestination(int x, int y, int direction); void changeAction(Being::Action action); void processOnlineList(Net::MessageIn &msg); void requestOnlineList(); |