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:
parent
9a0ba2db1b
commit
2358d51bfb
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue