Don't use separate variable for number of collected crewmates

Same as previous commit, except for crewmates in custom levels instead.
This commit is contained in:
Misa
2020-04-06 23:53:32 -07:00
committed by Ethan Lee
parent 9510c3c871
commit c077e51fb4
5 changed files with 25 additions and 29 deletions

View File

@@ -1466,7 +1466,6 @@ void scriptclass::run()
i = obj.getplayer();
obj.entities[i].tile = 0;
game.crewmates=0;
for (i = 0; i < 100; i++)
{
obj.collect[i] = 0;
@@ -3490,8 +3489,6 @@ void scriptclass::hardreset()
game.inintermission = false;
game.insecretlab = false;
game.crewmates=0;
game.state = 0;
game.statedelay = 0;