DEM_CHANGEMAP2 wasn't properly skipped

This commit is contained in:
Edward Richardson 2015-01-24 16:09:15 +13:00
parent db25322b4c
commit b2fbeb24c4

View file

@ -2667,7 +2667,9 @@ void Net_SkipCommand (int type, BYTE **stream)
case DEM_SUMMONFOE2: case DEM_SUMMONFOE2:
skip = strlen ((char *)(*stream)) + 26; skip = strlen ((char *)(*stream)) + 26;
break; break;
case DEM_CHANGEMAP2:
skip = strlen((char *)(*stream + 1)) + 2;
break;
case DEM_MUSICCHANGE: case DEM_MUSICCHANGE:
case DEM_PRINT: case DEM_PRINT:
case DEM_CENTERPRINT: case DEM_CENTERPRINT: