summaryrefslogtreecommitdiff
path: root/src/map/clif.cpp
diff options
context:
space:
mode:
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);