update_flags in game looad
This commit is contained in:
1 parent
e5da7160a6
commit
bda78a16ba
2 files changed
+2
-1
No files matched your search
+1
-1
@@ -1151,7 +1151,7 @@ bool test_game_load(bool whoami, char** name) {
|
||||
game dsolution = game_default_solution();
|
||||
game_save(dsolution, "dsolution.txt");
|
||||
game dsolution2 = game_load("dsolution.txt");
|
||||
game_update_flags(dsolution2);
|
||||
|
||||
assert(game_equal(dsolution, dsolution2));
|
||||
game_delete(dsolution2);
|
||||
game_delete(dsolution);
|
||||
|
||||
@@ -55,6 +55,7 @@ game game_load(char* filename) {
|
||||
}
|
||||
}
|
||||
fclose(f);
|
||||
game_update_flags(g1);
|
||||
return g1;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user