mirror of
https://github.com/spiffcode/hostile-takeover.git
synced 2026-06-05 09:44:58 -06:00
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:
parent
9cd0c1eca0
commit
f61cb69a3b
@ -938,7 +938,7 @@ BeginStateMachine
|
|||||||
OnMsg(kmidSpawnSmoke)
|
OnMsg(kmidSpawnSmoke)
|
||||||
if (gwfPerfOptions & kfPerfSmoke) {
|
if (gwfPerfOptions & kfPerfSmoke) {
|
||||||
if (ggobm.IsBelowLimit(knLimitSupport)) {
|
if (ggobm.IsBelowLimit(knLimitSupport)) {
|
||||||
SmokeGob *pgob = new SmokeGob((GetRandom() & 3) + 4);
|
SmokeGob *pgob = new SmokeGob((GetRandom() & 1));
|
||||||
Assert(pgob != NULL, "out of memory!");
|
Assert(pgob != NULL, "out of memory!");
|
||||||
if (pgob != NULL) {
|
if (pgob != NULL) {
|
||||||
WCoord wcx = WcFromTc(m_pstruc->ctx);
|
WCoord wcx = WcFromTc(m_pstruc->ctx);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user