summaryrefslogtreecommitdiff
path: root/src/map/intif.cpp
diff options
context:
space:
mode:
authorHoraK-FDF <horak-fdf@web.de>2022-10-23 15:45:32 +0000
committerJesusalva Jesusalva <jesusalva@themanaworld.org>2022-10-23 15:45:32 +0000
commit5cdf930c6596b778db40138726163b9dfd68ae4f (patch)
tree14495e785cfdcb3d8678a6edeeab9438a5f3af2e /src/map/intif.cpp
parent45b741f89800d7aad76ed0831416a8e7571886d1 (diff)
downloadtmwa-5cdf930c6596b778db40138726163b9dfd68ae4f.tar.gz
tmwa-5cdf930c6596b778db40138726163b9dfd68ae4f.tar.bz2
tmwa-5cdf930c6596b778db40138726163b9dfd68ae4f.tar.xz
tmwa-5cdf930c6596b778db40138726163b9dfd68ae4f.zip
Added get all reg2, get single reg2, set/add reg2 and del reg2 to tmwa-admin. Fixed communication from char server to login server. Added translations and comments. Minor QoL.
Diffstat (limited to 'src/map/intif.cpp')
-rw-r--r--src/map/intif.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/intif.cpp b/src/map/intif.cpp
index 379bb1d..f64f797 100644
--- a/src/map/intif.cpp
+++ b/src/map/intif.cpp
@@ -116,14 +116,14 @@ void intif_wis_message_to_gm(CharName Wisp_name, GmLevel min_gm_level, ZString m
Wisp_name, min_gm_level, mes);
}
-// アカウント変数送信
+// アカウント変数送信 | Account Variable Submission
void intif_saveaccountreg(dumb_ptr<map_session_data> sd)
{
nullpo_retv(sd);
if (!char_session)
return;
- assert (sd->status.account_reg_num < ACCOUNT_REG_NUM);
+ assert (sd->status.account_reg_num <= ACCOUNT_REG_NUM);
Packet_Head<0x3004> head_04;
head_04.account_id = block_to_account(sd->bl_id);
@@ -136,7 +136,7 @@ void intif_saveaccountreg(dumb_ptr<map_session_data> sd)
send_vpacket<0x3004, 8, 36>(char_session, head_04, repeat_04);
}
-// アカウント変数要求
+// アカウント変数要求 | Account variable requests
void intif_request_accountreg(dumb_ptr<map_session_data> sd)
{
nullpo_retv(sd);