Restrict saves with ambient air temp set to v96.0
This commit is contained in:
parent
ffe730c615
commit
788c9cf9fc
@ -2568,7 +2568,11 @@ char * GameSave::serialiseOPS(unsigned int & dataLength)
|
||||
bson_append_bool(&b, "paused", paused);
|
||||
bson_append_int(&b, "gravityMode", gravityMode);
|
||||
bson_append_int(&b, "airMode", airMode);
|
||||
bson_append_double(&b, "ambientAirTemp", double(ambientAirTemp));
|
||||
if (fabsf(ambientAirTemp - (R_TEMP + 273.15f)) > 0.0001f)
|
||||
{
|
||||
bson_append_double(&b, "ambientAirTemp", double(ambientAirTemp));
|
||||
RESTRICTVERSION(96, 0);
|
||||
}
|
||||
bson_append_int(&b, "edgeMode", edgeMode);
|
||||
|
||||
if (stkm.hasData())
|
||||
|
@ -113,7 +113,7 @@ public:
|
||||
|
||||
void SetEdgeMode(int edgeMode);
|
||||
int GetEdgeMode();
|
||||
void SetAmbientAirTemperature(float edgeMode);
|
||||
void SetAmbientAirTemperature(float ambientAirTemp);
|
||||
float GetAmbientAirTemperature();
|
||||
void SetDecoSpace(int decoSpace);
|
||||
int GetDecoSpace();
|
||||
|
Loading…
Reference in New Issue
Block a user