diff options
author | eray orçunus <erayorcunus@gmail.com> | 2019-11-05 00:04:26 +0100 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2019-11-05 01:52:06 +0100 |
commit | d5619fb5aedb62b4519a6bdfa4a7ed4bd4265e84 (patch) | |
tree | eed9cf112b4a622aac232242d0381e24db817561 /src/vehicles | |
parent | Merge pull request #265 from erorcun/erorcun (diff) | |
download | re3-d5619fb5aedb62b4519a6bdfa4a7ed4bd4265e84.tar re3-d5619fb5aedb62b4519a6bdfa4a7ed4bd4265e84.tar.gz re3-d5619fb5aedb62b4519a6bdfa4a7ed4bd4265e84.tar.bz2 re3-d5619fb5aedb62b4519a6bdfa4a7ed4bd4265e84.tar.lz re3-d5619fb5aedb62b4519a6bdfa4a7ed4bd4265e84.tar.xz re3-d5619fb5aedb62b4519a6bdfa4a7ed4bd4265e84.tar.zst re3-d5619fb5aedb62b4519a6bdfa4a7ed4bd4265e84.zip |
Diffstat (limited to '')
-rw-r--r-- | src/vehicles/Automobile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp index 0fa8547e..30446894 100644 --- a/src/vehicles/Automobile.cpp +++ b/src/vehicles/Automobile.cpp @@ -2474,8 +2474,8 @@ CAutomobile::TankControl(void) int lifeSpan = 250; if(m_vecMoveSpeed.Magnitude() > 0.08f){ lifeSpan = 125; - flashPos.x += 0.5f*m_vecMoveSpeed.x; - flashPos.y += 0.5f*m_vecMoveSpeed.y; + flashPos.x += 5.0f*m_vecMoveSpeed.x; + flashPos.y += 5.0f*m_vecMoveSpeed.y; } CParticle::AddParticle(PARTICLE_GUNFLASH, flashPos, nullDir, nil, 0.4f, black, 0, 0, 0, lifeSpan); flashPos += 0.3f*shotDir; @@ -4210,7 +4210,7 @@ CAutomobile::SpawnFlyingComponent(int32 component, uint32 type) if(atomic == nil) return nil; - obj = new CObject; + obj = new CObject(); if(obj == nil) return nil; |