Correct the number of slots to reset to 100

Or, more precisely, from 0-99 instead of 0-49.

I had thought that there were 50 elements in each vector, but it turns
out I was wrong.
This commit is contained in:
Info Teddy 2020-01-10 23:06:09 -08:00
parent 9a0ba2db1b
commit 2358d51bfb
1 changed files with 1 additions and 1 deletions

View File

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