mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
Correct column size check
This commit is contained in:
@@ -2929,7 +2929,7 @@ BOOLEAN LoadWorld(const STR8 puiFilename, FLOAT* pMajorMapVersion, UINT8* pMinor
|
|||||||
SetWorldSize(iRowSize, iColSize);
|
SetWorldSize(iRowSize, iColSize);
|
||||||
|
|
||||||
// We still have the "normal" map size AND the map is saved in vanilla format
|
// We still have the "normal" map size AND the map is saved in vanilla format
|
||||||
if ((iRowSize <= OLD_WORLD_ROWS && iRowSize <= OLD_WORLD_COLS) && (dMajorMapVersion == VANILLA_MAJOR_MAP_VERSION && ubMinorMapVersion == VANILLA_MINOR_MAP_VERSION))
|
if ((iRowSize <= OLD_WORLD_ROWS && iColSize <= OLD_WORLD_COLS) && (dMajorMapVersion == VANILLA_MAJOR_MAP_VERSION && ubMinorMapVersion == VANILLA_MINOR_MAP_VERSION))
|
||||||
{
|
{
|
||||||
// Check "vanilla map saving"
|
// Check "vanilla map saving"
|
||||||
gfVanillaMode = TRUE;//dnl ch74 191013
|
gfVanillaMode = TRUE;//dnl ch74 191013
|
||||||
|
|||||||
Reference in New Issue
Block a user