fix version tagging in saves

This commit is contained in:
jacob1 2013-06-24 00:02:00 -04:00
parent 76ce2de1ce
commit 776b2f6607
2 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -1996,7 +1996,7 @@ void Simulation::init_can_move()
}
for (movingType = 1; movingType < PT_NUM; movingType++)
{
// everything "swaps" with VACU and BHOL to make them eat things
//everything "swaps" with VACU and BHOL to make them eat things
can_move[movingType][PT_BHOL] = 1;
can_move[movingType][PT_NBHL] = 1;
//nothing goes through stickmen
@ -2005,7 +2005,7 @@ void Simulation::init_can_move()
can_move[movingType][PT_FIGH] = 0;
//INVS behaviour varies with pressure
can_move[movingType][PT_INVIS] = 3;
//stop CNCT being displaced by other particles
//stop CNCT from being displaced by other particles
can_move[movingType][PT_CNCT] = 0;
//VOID and PVOD behaviour varies with powered state and ctype
can_move[movingType][PT_PVOD] = 3;