Skip to content

Commit

Permalink
angelscript fix assertion typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
devnexen committed May 15, 2022
1 parent fc674ea commit cc3d5e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/AngelScript/source/as_scriptengine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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++)
{
Expand Down

0 comments on commit cc3d5e2

Please sign in to comment.