Advertisement

asCRestore::Restore() bug of "enum" in AS 2.14.0

Started by November 06, 2008 08:46 PM
2 comments, last by loboWu 16 years ago
very simple script code: enum ENUM1{ _ENUM_1 = 1 } void main() { int item = _ENUM_1; } it could be compiled, but when I call Restore to save the bytecode, it will crash. Thanks.
Thanks. I'll have a look at this.

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
The fix for this bug is now available in SVN revision 320.

If you don't want to upgrade to the latest version just yet, you should be able to apply just this fix to the version you're using.

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

Thanks a lot.

This topic is closed to new replies.

Advertisement