SAGA2: Rename more constants in idtypes.h

This commit is contained in:
a/ 2021-06-18 16:33:09 +09:00 committed by Eugene Sandulenko
parent 500a6ba468
commit 2ac1b6f55d
No known key found for this signature in database
GPG key ID: 014D387312D34F08
15 changed files with 128 additions and 128 deletions

View file

@ -1442,7 +1442,7 @@ void GameObject::updateState(void) {
if (objectFlags & objectFloating) return;
if (tHeight > location.z + maxStepHeight) {
if (tHeight > location.z + kMaxStepHeight) {
unstickObject(this);
tHeight = tileSlopeHeight(location, this, &sti);
}
@ -4200,7 +4200,7 @@ GameObject *objectCollision(GameObject *obj, GameWorld *world, const TilePoint &
volume.max.z = loc.z + proto->height;
// Adjust MIN Z for the fact that they can step over obstacles.
if (isActor(obj)) volume.min.z += maxStepHeight / 2;
if (isActor(obj)) volume.min.z += kMaxStepHeight / 2;
// Constructor
CircularObjectIterator iter(world, loc, proto->crossSection + 32);