Skip to content

Commit

Permalink
Saving now saves to correct level number instead of level000.
Browse files Browse the repository at this point in the history
  • Loading branch information
kieranmillar committed Nov 20, 2017
1 parent 6189093 commit ce3a8cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lem3edit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
using namespace std;

const char *prog_name = "lem3edit";
const char *prog_ver = "0.5";
const char *prog_ver = "0.5.1";
const char *prog_date = "20/11/2017";

void version(void);
Expand Down
2 changes: 1 addition & 1 deletion src/level.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ bool Level::load( unsigned int n )
const string level = "LEVEL";
const string perm = "PERM", temp = "TEMP";

level_id - n;
level_id = n;

return load_level(path, level, n) &&
load_objects(PERM, path, perm, n) &&
Expand Down

0 comments on commit ce3a8cc

Please sign in to comment.