diff options
| author | jacob1 <jfu614@gmail.com> | 2013-06-24 04:02:00 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-06-24 04:02:00 (GMT) |
| commit | 776b2f6607acf43ec64f0479001d049a4cc0d854 (patch) | |
| tree | 08e5a50617adc5776c6561c70ee51705078dbad1 /src/client | |
| parent | 76ce2de1ce23fbe79d2794713d132eeb871642bd (diff) | |
| download | powder-776b2f6607acf43ec64f0479001d049a4cc0d854.zip powder-776b2f6607acf43ec64f0479001d049a4cc0d854.tar.gz | |
fix version tagging in saves
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/GameSave.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/GameSave.cpp b/src/client/GameSave.cpp index 2a7c996..c3aee45 100644 --- a/src/client/GameSave.cpp +++ b/src/client/GameSave.cpp @@ -1962,8 +1962,8 @@ char * GameSave::serialiseOPS(int & dataLength) bson_append_start_object(&b, "origin"); bson_append_int(&b, "majorVersion", SAVE_VERSION); bson_append_int(&b, "minorVersion", MINOR_VERSION); - bson_append_int(&b, "buildNum", MINOR_VERSION); - bson_append_int(&b, "snapshotId", MINOR_VERSION); + bson_append_int(&b, "buildNum", BUILD_NUM); + bson_append_int(&b, "snapshotId", SNAPSHOT_ID); bson_append_string(&b, "releaseType", IDENT_RELTYPE); bson_append_string(&b, "platform", IDENT_PLATFORM); bson_append_string(&b, "builtType", IDENT_BUILD); |
