mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-04 21:29:19 +00:00
fixed unused-result error
This commit is contained in:
parent
fbea2d91ce
commit
404b964f28
@ -1224,7 +1224,7 @@ EX void loadsave() {
|
||||
if(fscanf(f, "%9999s", buf) <= 0) break;
|
||||
sc.ver = buf;
|
||||
if(sc.ver == "CHEATER!" && save_cheats) {
|
||||
fgets(buf, 12000, f);
|
||||
if(fgets(buf, 12000, f) == NULL) break;
|
||||
if(fscanf(f, "%9999s", buf) <= 0) break;
|
||||
sc.ver = buf;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user