diff options
Diffstat (limited to 'saveload.c')
-rw-r--r-- | saveload.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/saveload.c b/saveload.c index 299890f2c..dda3eefc1 100644 --- a/saveload.c +++ b/saveload.c @@ -536,7 +536,8 @@ static size_t SlCalcGlobListLength(const SaveLoadGlobVarList *desc) size_t length = 0; while (desc->address) { - length += SlCalcConvLen(desc->conv, NULL); + if(_sl.version >= desc->from_version && _sl.version <= desc->to_version) + length += SlCalcConvLen(desc->conv, NULL); desc++; } return length; |