mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-08 13:08:35 +00:00
replace __debugbreak with assert, fix full build
This commit is contained in:
@@ -102,7 +102,7 @@ void EntityTracker::addEntity(std::shared_ptr<Entity> e, int range,
|
||||
assert(false); // Entity already tracked
|
||||
}
|
||||
if (e->entityId >= 2048) {
|
||||
__debugbreak();
|
||||
assert(0);
|
||||
}
|
||||
std::shared_ptr<TrackedEntity> te = std::shared_ptr<TrackedEntity>(
|
||||
new TrackedEntity(e, range, updateInterval, trackDeltas));
|
||||
|
||||
Reference in New Issue
Block a user