Skip to content

Commit

Permalink
[Lua]Fix clbk_visualdestroyed not being called (#511)
Browse files Browse the repository at this point in the history
* [Lua]Fix clbk_visualdestroyed not being called

* [D3D9]Fix missing include

* [Lua]Add XRSound assets dependency
  • Loading branch information
TheGondos authored Nov 21, 2024
1 parent 98870cb commit 283479a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions OVP/D3D9Client/D3D9Util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include <functional>
#include <cctype>
#include <unordered_map>
#include <algorithm>

extern D3D9Client* g_client;
extern unordered_map<MESHHANDLE, class SketchMesh*> MeshMap;
Expand Down
1 change: 1 addition & 0 deletions Src/Module/LuaScript/LuaInterpreter/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ add_dependencies(LuaInterpreter
D3D9Client
D3D9Client_Interface
XRSound_lib
XRSound_assets
)

set_target_properties(LuaInterpreter
Expand Down
2 changes: 1 addition & 1 deletion Src/Vessel/ScriptVessel/ScriptVessel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const char *CLBKNAME[NCLBK] = {
"panelredrawevent",
"loadVC",
"visualcreated",
"visualdestroyes",
"visualdestroyed",
"VCmouseevent",
"VCredrawevent",
"drawHUD",
Expand Down

0 comments on commit 283479a

Please sign in to comment.