mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-18 13:13:29 -04:00
Rename actor orig->home and next->old
This commit is contained in:
@@ -213,7 +213,7 @@ void daObj_Hole_c::createInit() {
|
||||
fopAcM_setCullSizeFar(this, 10.0f);
|
||||
|
||||
mAcchCir.SetWall(100.0f, 10.0f);
|
||||
mAcch.Set(¤t.pos, &next.pos, this, 1, &mAcchCir, &speed);
|
||||
mAcch.Set(¤t.pos, &old.pos, this, 1, &mAcchCir, &speed);
|
||||
|
||||
mAcch.SetWallNone();
|
||||
mAcch.SetRoofNone();
|
||||
@@ -243,7 +243,7 @@ void daObj_Hole_c::getArg() {
|
||||
mExitIdx = param & 0xFF;
|
||||
mHasModel = param >> 8;
|
||||
|
||||
mScaleLocal = orig.angle.z;
|
||||
mScaleLocal = home.angle.z;
|
||||
if (mScaleLocal == 0xFFFF) {
|
||||
mScaleLocal = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user