Advertisement

Bug with script functions passed into ?& in

Started by January 19, 2016 02:32 PM
1 comment, last by Solokiller 8 years, 10 months ago

There seems to be a bug with script functions passed into a function using a ?& in parameter. The object type for this returned by asIScriptEngine::GetObjectTypeById returns -1 as the type id (asIObjectType::GetTypeId).

While the type id is already available, it would be nice if this method returned the same type id.

Try the latest WIP.

I've completely refactored how the script functions and funcdefs are represented as typeid and typeinfo. They are now working the same way as all other types.

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

Advertisement

I'll check it out soon. We're releasing our game (Sven Co-op) this Friday, so updates to this code will have to wait.

Thanks for the quick reply :)

This topic is closed to new replies.

Advertisement