SetPosition, part 2

This commit is contained in:
Sergeanur 2020-05-02 15:28:19 +03:00
parent d23b2c423e
commit 52390062b3
14 changed files with 49 additions and 49 deletions

View file

@ -104,7 +104,7 @@ void TankCheat()
if (tank != nil) {
CVector pos = ThePaths.m_pathNodes[node].pos;
pos.z += 4.0f;
tank->GetPosition() = pos;
tank->SetPosition(pos);
tank->SetOrientation(0.0f, 0.0f, DEGTORAD(200.0f));
tank->SetStatus(STATUS_ABANDONED);