• Advertisement
Sign in to follow this  

Bug in 1.8.0c

This topic is 4923 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey I'm back with another bug. Or well, at least I think it is one. :) In as_context.cpp:1200, there's a line like this: *stackPointer = asDWORD(engine->GetModule(d)->globalMem.AddressOf() + d); That makes my app crash when adding global variables to a module. After messing around a bit, I guessed that "d" has some kind of variable index on the form module<<16+varindex. Thus, I tried the following (which helped): *stackPointer = asDWORD(engine->GetModule(d)->globalMem.AddressOf() + (d & 0xFFFF)); Not sure if that's the correct fix, but it works for me. :)

Share this post


Link to post
Share on other sites
Advertisement
Yet another bug related to the new module feature. Hopefully it will be the last one. I'm really depressed with how buggy the 1.8.0 release was. :(

You got the correct fix for it, so I'll add it as soon as I get the time to upload the next version.

Thanks.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement