Fix build against SourceMod 1.9

This commit is contained in:
Peace-Maker 2018-04-21 10:16:20 +02:00
parent c6266bfcf3
commit dc12453b02

View File

@ -281,10 +281,14 @@ SMCResult SignatureGameConfig::ReadSMC_KeyValue(const SMCStates *states, const c
flags |= PASSFLAG_OCTOR;
else if (strstr(value, "oassignop"))
flags |= PASSFLAG_OASSIGNOP;
#ifdef PASSFLAG_OCOPYCTOR
else if (strstr(value, "ocopyctor"))
flags |= PASSFLAG_OCOPYCTOR;
#endif
#ifdef PASSFLAG_OUNALIGN
else if (strstr(value, "ounalign"))
flags |= PASSFLAG_OUNALIGN;
#endif
g_CurrentArgumentInfo.flags = flags;
}