refactor: replace AABB::newPermanent with new AABB
This commit is contained in:
1 parent
79217ca8e3
commit
534879e2e7
11 files changed
+10
-17
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user