orbitersim / orbiter

Open-source repository of Orbiter Space Flight Simulator
MIT License
1.62k stars 220 forks source link

[Lua]Fix clbk_visualdestroyed not being called #511

Closed TheGondos closed 1 week ago

TheGondos commented 1 week ago

Fix lame typo in ScriptVessel.cpp preventing clbk_visualdestroyed from being called.

TheGondos commented 1 week ago

WTF? A C++ include statement is now required in D3D9Util.cpp? And after adding it there is another error for a missing XRSound.h, only in the 64bit build, mind you... Can anybody restart the build to see if it's a random issue? Maybe there is a dependency missing somewhere? Edit: added XRSound_assets dependency to the LuaInterpreter since it's the target that deploys the XRSound.h file

GLS-SSV commented 1 week ago

I'm sorry to dig the standards thing up again, but the line

include

makes Orbiter leave C++17 behind...