diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-07 20:22:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-07 21:38:21 +0300 |
commit | b43854b65e0c8bdbc37db2a0b6e2e86ebf11e7f7 (patch) | |
tree | 4d3f66fbffd93d0413a839e24d20e7d5b665e68a /src/net/eathena | |
parent | e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa (diff) | |
download | manaverse-b43854b65e0c8bdbc37db2a0b6e2e86ebf11e7f7.tar.gz manaverse-b43854b65e0c8bdbc37db2a0b6e2e86ebf11e7f7.tar.bz2 manaverse-b43854b65e0c8bdbc37db2a0b6e2e86ebf11e7f7.tar.xz manaverse-b43854b65e0c8bdbc37db2a0b6e2e86ebf11e7f7.zip |
remove some default values for parameters.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/partyhandler.h | 2 | ||||
-rw-r--r-- | src/net/eathena/playerhandler.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/net/eathena/partyhandler.h b/src/net/eathena/partyhandler.h index 4b18344e8..bf58b58aa 100644 --- a/src/net/eathena/partyhandler.h +++ b/src/net/eathena/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/eathena/playerhandler.h b/src/net/eathena/playerhandler.h index bdc77c59b..87bd2a7c6 100644 --- a/src/net/eathena/playerhandler.h +++ b/src/net/eathena/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 updateStatus(uint8_t status); |