Fix hardreset() not resetting all 100 slots in (custom)collect (#36)

This commit is contained in:
Info Teddy 2020-01-10 23:14:39 -08:00 committed by Ethan Lee
parent f4767ce18b
commit 441955de5f
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ Contributors
* Elliott Saltar (@eboyblue3)
* Marvin Scholz (@ePirat)
* Elijah Stone
* Info Teddy (@InfoTeddy)
* Emmanuel Vadot (@evadot)
* Rémi Verschelde (@akien-mga)
* viri (viri.me)

View File

@ -3536,7 +3536,7 @@ void scriptclass::hardreset( KeyPoll& key, Graphics& dwgfx, Game& game,mapclass&
obj.customcrewmoods[i]=1;
}
for (i = 0; i < 20; i++)
for (i = 0; i < 100; i++)
{
obj.collect[i] = 0;
obj.customcollect[i] = 0;