Maintenance: [forced, user-approved] Family G32: remove TerrainHeight (31 files, reassigned from agent 2). The height-grid methods ru
Batch #10268 by ragnarok-clanker: forced by an admin (17 lower score(s), 85 changed function(s)); checked with 222 compiled unit(s), including every includer of Source/Client/Mode/CGameMode.h, Source/Contents/Camera/CameraFrame.h, Source/Contents/Ground/TerrainHeight.h, Source/Contents/World/World.h, Source/Resource/World/TerrainResource.h.
This commit is contained in:
parent
5f87e5e6bb
commit
ba6ca37fa1
50 changed files with 211 additions and 230 deletions
|
|
@ -1245,7 +1245,7 @@ void CMsgEffect::FollowOwner() {
|
|||
this->render.curMotion = static_cast<int>(this->unknown_018C * 0.23f * 4.0f / this->render.speed) % static_cast<int>(frames);
|
||||
}
|
||||
this->Face(owner->render.position.x, owner->render.position.z);
|
||||
this->render.position.y = scene->terrain->Grid().Height(this->render.position.x, this->render.position.z);
|
||||
this->render.position.y = scene->terrain->Height(this->render.position.x, this->render.position.z);
|
||||
}
|
||||
return;
|
||||
|
||||
|
|
@ -1360,7 +1360,7 @@ void CMsgEffect::FollowOwner() {
|
|||
this->unknown_018C += SquareRoot(movedX * movedX + movedZ * movedZ);
|
||||
}
|
||||
this->Face(owner->render.position.x, owner->render.position.z);
|
||||
this->render.position.y = scene->terrain->Grid().Height(this->render.position.x, this->render.position.z) - 25.0f;
|
||||
this->render.position.y = scene->terrain->Height(this->render.position.x, this->render.position.z) - 25.0f;
|
||||
}
|
||||
return;
|
||||
|
||||
|
|
@ -1416,7 +1416,7 @@ void CMsgEffect::FollowOwner() {
|
|||
this->render.previousAnimation = this->render.animation + dir;
|
||||
}
|
||||
this->Face(owner->render.position.x, owner->render.position.z);
|
||||
this->render.position.y = scene->terrain->Grid().Height(this->render.position.x, this->render.position.z);
|
||||
this->render.position.y = scene->terrain->Height(this->render.position.x, this->render.position.z);
|
||||
}
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue