summaryrefslogtreecommitdiff
path: root/src/map/clif.cpp
diff options
context:
space:
mode:
authorJesusalva Jesusalva <jesusalva@themanaworld.org>2022-10-23 15:45:32 +0000
committerJesusalva Jesusalva <jesusalva@themanaworld.org>2022-10-23 15:45:32 +0000
commit9a3566484f2345db599552a6c18311978a0071ea (patch)
tree14495e785cfdcb3d8678a6edeeab9438a5f3af2e /src/map/clif.cpp
parent45b741f89800d7aad76ed0831416a8e7571886d1 (diff)
parent5cdf930c6596b778db40138726163b9dfd68ae4f (diff)
downloadtmwa-9a3566484f2345db599552a6c18311978a0071ea.tar.gz
tmwa-9a3566484f2345db599552a6c18311978a0071ea.tar.bz2
tmwa-9a3566484f2345db599552a6c18311978a0071ea.tar.xz
tmwa-9a3566484f2345db599552a6c18311978a0071ea.zip
Merge branch 'tmwa-admin-reg2-mod' into 'master'
Tmwa admin reg2 mod, required for Mirror Lake See merge request legacy/tmwa!235
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);