as_scriptobject.cpp

Started by
1 comment, last by WitchLord 10 years, 7 months ago

Hi,

In as_scriptobject.cpp (L:189), there is this registration:


    // Weakref behaviours
    r = engine->RegisterBehaviourToObjectType(&engine->scriptTypeBehaviours, asBEHAVE_GET_WEAKREF_FLAG, "int &f()", asMETHOD(asCScriptObject,GetWeakRefFlag), asCALL_THISCALL, 0); asASSERT( r >= 0 );

But, in case of AS_MAX_PORTABILITY, there isn't this registration.

Is this a bug?

Advertisement

Yes, it is a bug. Thanks for reporting it.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

I've fixed this in revision 1705.

Regards,

Andreas

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement