Skip to content

Commit 02a3c64

Browse files
committed
engine: fix loading static prop lump version 7
1 parent 7f26785 commit 02a3c64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

engine/staticpropmgr.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1339,7 +1339,6 @@ void CStaticPropMgr::UnserializeModels( CUtlBuffer& buf )
13391339
case 5: UnserializeLump<StaticPropLumpV5_t>(&lump, buf); break;
13401340
case 6: UnserializeLump<StaticPropLumpV6_t>(&lump, buf); break;
13411341
case 7: // Falls down to version 10. We promoted TF to version 10 to deal with SFM.
1342-
case 9: UnserializeLump<StaticPropLumpV9_t>(&lump, buf); break;
13431342
case 10:
13441343
{
13451344
if( s_MapVersion == 21 )
@@ -1348,7 +1347,8 @@ void CStaticPropMgr::UnserializeModels( CUtlBuffer& buf )
13481347
UnserializeLump<StaticPropLumpV10_t>(&lump, buf);
13491348
break;
13501349
}
1351-
case 11: UnserializeLump<StaticPropLumpV11_t>(&lump, buf);
1350+
case 9: UnserializeLump<StaticPropLumpV9_t>(&lump, buf); break;
1351+
case 11: UnserializeLump<StaticPropLumpV11_t>(&lump, buf); break;
13521352
default:
13531353
Assert("Unexpected version while deserializing lumps.");
13541354
}

0 commit comments

Comments
 (0)