Skip to content

Commit de19159

Browse files
authored
修复了导入存档的时候成就显示的问题
1 parent 387b746 commit de19159

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

README-EN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
- [version](#version)
99

10-
- [Discussion Channel](#Discussion-Channel)
10+
- [Discussion Channel](#Discussion Channel)
1111

1212
## note
1313

defines/Eggs.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ void Egg::print_ach(){
107107
void Egg::imports(ifstream &fin){
108108
fin >> has_ach;
109109
fin >> achs;
110+
if(has_ach){
111+
system(("mode "+to_string(COLS+ADD_COLS)+","+to_string(LINES+ADD_LINE)).c_str());
112+
}
110113
}
111114
void Egg::save(ofstream &fout){
112115
fout << has_ach << endl;

main.exe

1.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)