diff options
| author | Sergeanur <s.anureev@yandex.ua> | 2020-04-30 16:45:45 +0300 |
|---|---|---|
| committer | Sergeanur <s.anureev@yandex.ua> | 2020-04-30 16:45:45 +0300 |
| commit | 7d758f3a9f7ad9b46cc9ab296166365597898bf5 (patch) | |
| tree | 906b8d3f86c6ee6969bc553b1ea73ed6386409f0 /src/core/Pad.cpp | |
| parent | Fix downloading from PR (diff) | |
| download | re3-7d758f3a9f7ad9b46cc9ab296166365597898bf5.tar.gz | |
Adding getters and setters for type and status
Diffstat (limited to 'src/core/Pad.cpp')
| -rw-r--r-- | src/core/Pad.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Pad.cpp b/src/core/Pad.cpp index a72f51c0..7dbadd74 100644 --- a/src/core/Pad.cpp +++ b/src/core/Pad.cpp @@ -107,7 +107,7 @@ void TankCheat() tank->GetPosition() = pos; tank->SetOrientation(0.0f, 0.0f, DEGTORAD(200.0f)); - tank->m_status = STATUS_ABANDONED; + tank->SetStatus(STATUS_ABANDONED); tank->m_nDoorLock = CARLOCK_UNLOCKED; CWorld::Add(tank); } |
