mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-03-21 18:21:08 +00:00
Initialize variabls ubsan complained about
I did this change ages ago in game/, forgot to do it in d3xp/ as well
This commit is contained in:
parent
6310f699e1
commit
fb5eedb35f
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ bool idSmokeParticles::EmitSmoke( const idDeclParticle *smoke, const int systemS
|
|||
int finalParticleTime = stage->cycleMsec * stage->spawnBunching;
|
||||
int deltaMsec = gameLocal.time - systemStartTime;
|
||||
|
||||
int nowCount, prevCount;
|
||||
int nowCount=0, prevCount=0;
|
||||
if ( finalParticleTime == 0 ) {
|
||||
// if spawnBunching is 0, they will all come out at once
|
||||
if ( gameLocal.time == systemStartTime ) {
|
||||
|
|
Loading…
Reference in a new issue