aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2024-01-21 22:25:10 +0100
committerShauren <shauren.trinity@gmail.com>2024-01-21 22:25:10 +0100
commita4a4d010a0e329d4dbd82c0be5feab1fc06c8834 (patch)
treef988bcef679ba35e903a53ab2277ade2a92b0640 /src/server/scripts
parent5cc1b97fc1430f07d8942ae9f87fd5ad9708db59 (diff)
Core: Updated to 10.2.5
Diffstat (limited to 'src/server/scripts')
-rw-r--r--src/server/scripts/Commands/cs_misc.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/server/scripts/Commands/cs_misc.cpp b/src/server/scripts/Commands/cs_misc.cpp
index 7e9a54e2879..e995cdf7a52 100644
--- a/src/server/scripts/Commands/cs_misc.cpp
+++ b/src/server/scripts/Commands/cs_misc.cpp
@@ -1113,13 +1113,6 @@ public:
}
uint32 offset = area->AreaBit / PLAYER_EXPLORED_ZONES_BITS;
- if (offset >= PLAYER_EXPLORED_ZONES_SIZE)
- {
- handler->SendSysMessage(LANG_BAD_VALUE);
- handler->SetSentErrorMessage(true);
- return false;
- }
-
uint64 val = UI64LIT(1) << (area->AreaBit % PLAYER_EXPLORED_ZONES_BITS);
playerTarget->AddExploredZones(offset, val);
@@ -1153,13 +1146,6 @@ public:
}
uint32 offset = area->AreaBit / PLAYER_EXPLORED_ZONES_BITS;
- if (offset >= PLAYER_EXPLORED_ZONES_SIZE)
- {
- handler->SendSysMessage(LANG_BAD_VALUE);
- handler->SetSentErrorMessage(true);
- return false;
- }
-
uint64 val = UI64LIT(1) << (area->AreaBit % PLAYER_EXPLORED_ZONES_BITS);
playerTarget->RemoveExploredZones(offset, val);