- Exhumed: Fix issues on start of Level 20 following changes in 0c95aee8f5.

* Fixes #152.
This commit is contained in:
Mitchell Richters 2020-11-06 22:02:14 +11:00
parent c823e33bb3
commit f2e50161a5

View file

@ -1347,7 +1347,7 @@ int BuildSpark(int nSprite, int nVal)
if (var_14 < 0) {
return -1;
}
auto spr = &sprite[nSprite];
auto spr = &sprite[var_14];
assert(var_14 < kMaxSprites);