mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-29 02:40:47 +02:00
fix (msvc) compile error
This commit is contained in:
@@ -146,7 +146,6 @@ int LuaEvents::RegisterEventHook(lua_State *l, ByteString eventName)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <iostream>
|
|
||||||
int LuaEvents::UnregisterEventHook(lua_State *l, ByteString eventName)
|
int LuaEvents::UnregisterEventHook(lua_State *l, ByteString eventName)
|
||||||
{
|
{
|
||||||
if (lua_isfunction(l, 2))
|
if (lua_isfunction(l, 2))
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
#include "common/String.h"
|
#include "common/String.h"
|
||||||
|
|
||||||
class lua_State;
|
struct lua_State;
|
||||||
class LuaScriptInterface;
|
class LuaScriptInterface;
|
||||||
|
|
||||||
class Event
|
class Event
|
||||||
|
Reference in New Issue
Block a user