summaryrefslogtreecommitdiff
path: root/src/map/party.cpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-02-07 19:38:32 -0800
committerBen Longbons <b.r.longbons@gmail.com>2013-02-07 22:41:23 -0800
commit83b2e0b3ceda907b7186acfcc56c214fc04d9c13 (patch)
treef4dcc8d8b59fd9a633bc2604cc92f0523cc76ee4 /src/map/party.cpp
parentc67c2b7435a13d7ce17b2075e22dc5c6036f702a (diff)
downloadtmwa-83b2e0b3ceda907b7186acfcc56c214fc04d9c13.tar.gz
tmwa-83b2e0b3ceda907b7186acfcc56c214fc04d9c13.tar.bz2
tmwa-83b2e0b3ceda907b7186acfcc56c214fc04d9c13.tar.xz
tmwa-83b2e0b3ceda907b7186acfcc56c214fc04d9c13.zip
Remove some macros
Diffstat (limited to 'src/map/party.cpp')
-rw-r--r--src/map/party.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/party.cpp b/src/map/party.cpp
index 609044a..b422e04 100644
--- a/src/map/party.cpp
+++ b/src/map/party.cpp
@@ -17,7 +17,8 @@
#include "../poison.hpp"
-#define PARTY_SEND_XYHP_INVERVAL 1000 // 座標やHP送信の間隔
+// 座標やHP送信の間隔
+constexpr int PARTY_SEND_XYHP_INVERVAL = 1000;
static
struct dbt *party_db;
@@ -240,7 +241,7 @@ int party_invite(struct map_session_data *sd, int account_id)
{
/* Disallow the invitation under these conditions. */
if (tsd->trade_partner || tsd->npc_id
- || tsd->npc_shopid || pc_checkskill(tsd, NV_PARTY) < 1)
+ || tsd->npc_shopid || pc_checkskill(tsd, SkillID::NV_PARTY) < 1)
{
clif_party_inviteack(sd, tsd->status.name, 1);
return 0;