Adjust range of smoke loops

art2432 has more frames in the smoke animations. Hence range for the amount of loops for the animation was decreased.
This commit is contained in:
Nathan Fulton 2017-04-29 23:18:25 -04:00
parent 9cd0c1eca0
commit f61cb69a3b

View File

@ -938,7 +938,7 @@ BeginStateMachine
OnMsg(kmidSpawnSmoke)
if (gwfPerfOptions & kfPerfSmoke) {
if (ggobm.IsBelowLimit(knLimitSupport)) {
SmokeGob *pgob = new SmokeGob((GetRandom() & 3) + 4);
SmokeGob *pgob = new SmokeGob((GetRandom() & 1));
Assert(pgob != NULL, "out of memory!");
if (pgob != NULL) {
WCoord wcx = WcFromTc(m_pstruc->ctx);