2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 23:07:42 +00:00

Various particle bug fixes

This commit is contained in:
Jack Andersen
2018-01-26 22:34:46 -10:00
parent 6f7cd14836
commit bb10423267
8 changed files with 227 additions and 11 deletions

View File

@@ -190,7 +190,7 @@ bool CIERandom::GetValue(int frame, int& valOut) const
int a, b;
x4_min->GetValue(frame, a);
x8_max->GetValue(frame, b);
if (frame > 0)
if (a > 0)
valOut = CRandom16::GetRandomNumber()->Range(a, b);
else
valOut = CRandom16::GetRandomNumber()->Next();