FreeFalcon / freefalcon-central

A campaign based, multiplayer, open source flight simulator.
http://freefalcon.org/
BSD 2-Clause "Simplified" License
153 stars 98 forks source link

Failed assertion fixes #17

Closed vinnydiehl closed 11 years ago

vinnydiehl commented 11 years ago

I'm opening this issue off of a branch in the main repo to replace #15. See said issue for any previous discussion.

PlutoniumHeart commented 11 years ago

I just found a strange bug in the function "void RenderOTW::Setup(ImageBuffer* imageBuffer, RViewPoint vp)" in the OTW.cpp, appearently the pointer in the class RenderOTW cannot be modified in any way, you can try to assign NULL or what ever, it won't change. I tested creating a int \ in the class, and this one can't be modified either. I am beginning to wonder if this has something to do with the compiler itself, since besides this, I am seeing all kinds of weird things happening in this class. (class variables not visible in the watch window etc.)

vinnydiehl commented 11 years ago

@PlutoniumHeart: Go ahead and create a separate issue for dealing with the RenderOTW class. I'm going to merge these once I verify that nothing broke on my machine.

Don't forget to get rid of your fork (or just don't use it for code that you want merged eventually) and do any future work in feature/name-of-branch branches in the central repo.

vinnydiehl commented 11 years ago

Alright, everything looks good. Merged, keep up the good work! :beer: