refactor: replace AABB::newPermanent with new AABB

This commit is contained in:
orng
2026-03-27 21:17:55 -05:00
parent 79217ca8e3
commit 534879e2e7
11 changed files with 10 additions and 17 deletions

View File

@@ -16,7 +16,7 @@ ChangeStateConstraint::ChangeStateConstraint(
bool contains /*= true*/, bool changeGameMode /*= false*/,
GameType* targetGameMode /*= 0*/)
: TutorialConstraint(-1) {
movementArea = AABB::newPermanent(x0, y0, z0, x1, y1, z1);
movementArea = new AABB(x0, y0, z0, x1, y1, z1);
this->contains = contains;