We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d662f3 commit cf3608dCopy full SHA for cf3608d
Client/mods/deathmatch/logic/CClientDFF.cpp
@@ -369,5 +369,5 @@ bool CClientDFF::ReplaceVehicleModel(RpClump* pClump, ushort usModel, bool bAlph
369
// Return true if data looks like DFF file contents
370
bool CClientDFF::IsDFFData(const SString& strData)
371
{
372
- return strData.length() > 32 && memcmp(strData, "\x10\x00\x00\x00", 4) == 0;
+ return strData.length() > 32 && (memcmp(strData, "\x10\x00\x00\x00", 4) == 0 || memcmp(strData, "\x2B\x00\x00\x00", 4) == 0);
373
}
0 commit comments