summaryrefslogtreecommitdiff
path: root/src/map/clif.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/clif.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/clif.cpp')
-rw-r--r--src/map/clif.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.cpp b/src/map/clif.cpp
index b9e8bec..1c78cd0 100644
--- a/src/map/clif.cpp
+++ b/src/map/clif.cpp
@@ -5354,7 +5354,7 @@ void clif_sendallquest(dumb_ptr<map_session_data> sd)
Packet_Head<0x0215> head_215;
std::vector<Packet_Repeat<0x0215>> repeat_215;
- assert (sd->status.global_reg_num < GLOBAL_REG_NUM);
+ assert (sd->status.global_reg_num <= GLOBAL_REG_NUM);
for (QuestId q = wrap<QuestId>(0); q < wrap<QuestId>(-1); q = next(q))
{
P<struct quest_data> quest_data_ = TRY_UNWRAP(questdb_exists(q), continue);