unused variable 'gamecount' removed

This commit is contained in:
Zeno Rogue 2020-03-27 19:46:36 +01:00
parent c6f9b1b7e2
commit a2b7da728a
1 changed files with 0 additions and 4 deletions

View File

@ -42,7 +42,6 @@ EX bool autocheat;
EX eWall canvas_default_wall = waNone;
EX int truelotus;
EX int gamecount;
EX int asteroids_generated, asteroid_orbs_generated;
@ -1055,8 +1054,6 @@ EX void loadsave() {
#endif
DEBBI(DF_INIT, ("loadSave"));
gamecount = 0;
FILE *f = fopen(scorefile, "rt");
havesave = f;
if(!f) return;
@ -1068,7 +1065,6 @@ EX void loadsave() {
char buf[120];
if(fgets(buf, 120, f) == NULL) break;
if(buf[0] == 'H' && buf[1] == 'y') {
gamecount++;
if(fscanf(f, "%s", buf) <= 0) break;
sc.ver = buf;
if(sc.ver[1] != '.') sc.ver = '0' + sc.ver;