Merge pull request #1022 from devnexen/angelscript_asengine_fix

AngelScript assertion typo fix
master
yvt 2022-05-17 12:21:06 +09:00 committed by GitHub
commit 2ebd032808
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2447,7 +2447,7 @@ int asCScriptEngine::RegisterBehaviourToObjectType(asCObjectType *objectType, as
int asCScriptEngine::SetTemplateRestrictions(asCObjectType *templateType, asCScriptFunction *func, const char *caller, const char *decl)
{
asASSERT(templateType->flags && asOBJ_TEMPLATE);
asASSERT(templateType->flags & asOBJ_TEMPLATE);
for (asUINT subTypeIdx = 0; subTypeIdx < templateType->templateSubTypes.GetLength(); subTypeIdx++)
{