- Duke: Fix issues in recordoldspritepos() following changes in 7043092fd0.

* Fixes #129.
This commit is contained in:
Mitchell Richters 2020-10-16 14:17:19 +11:00
parent 6385539144
commit 3582717c43

View file

@ -5108,10 +5108,9 @@ int LocateTheLocator(int n, int sn)
void recordoldspritepos() void recordoldspritepos()
{ {
for (int statNum = 0; statNum < MAXSTATUS; statNum++) for (int statNum = 0; statNum < MAXSTATUS; statNum++)
{ {
StatIterator it(STAT_STANDABLE); StatIterator it(statNum);
int j; int j;
while ((j = it.NextIndex()) >= 0) while ((j = it.NextIndex()) >= 0)
{ {