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; flags |= PASSFLAG_OCTOR;
else if (strstr(value, "oassignop")) else if (strstr(value, "oassignop"))
flags |= PASSFLAG_OASSIGNOP; flags |= PASSFLAG_OASSIGNOP;
#ifdef PASSFLAG_OCOPYCTOR
else if (strstr(value, "ocopyctor")) else if (strstr(value, "ocopyctor"))
flags |= PASSFLAG_OCOPYCTOR; flags |= PASSFLAG_OCOPYCTOR;
#endif
#ifdef PASSFLAG_OUNALIGN
else if (strstr(value, "ounalign")) else if (strstr(value, "ounalign"))
flags |= PASSFLAG_OUNALIGN; flags |= PASSFLAG_OUNALIGN;
#endif
g_CurrentArgumentInfo.flags = flags; g_CurrentArgumentInfo.flags = flags;
} }