diff options
| author | Alexander Gavrilov | 2012-04-16 10:59:55 +0400 |
|---|---|---|
| committer | Alexander Gavrilov | 2012-04-16 10:59:55 +0400 |
| commit | 48e4717dd2cf6c0e2a6ae88ae7bde20e01c0b610 (patch) | |
| tree | a860737c7af98bd1c4df30946201ffb044c6e69d /library/PluginManager.cpp | |
| parent | a1756a864cc7c7a6f498c5cfe96e0a9d0ae57828 (diff) | |
| download | dfhack-48e4717dd2cf6c0e2a6ae88ae7bde20e01c0b610.tar.gz dfhack-48e4717dd2cf6c0e2a6ae88ae7bde20e01c0b610.tar.bz2 dfhack-48e4717dd2cf6c0e2a6ae88ae7bde20e01c0b610.tar.xz | |
Try working around some msvc problems.
Diffstat (limited to 'library/PluginManager.cpp')
| -rw-r--r-- | library/PluginManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/PluginManager.cpp b/library/PluginManager.cpp index edc7fb9f..1821e18d 100644 --- a/library/PluginManager.cpp +++ b/library/PluginManager.cpp @@ -537,7 +537,7 @@ void Plugin::open_lua(lua_State *state, int table) { for (auto it = lua_events.begin(); it != lua_events.end(); ++it) { - Lua::CreateEvent(state, it->second); + Lua::MakeEvent(state, it->second); push_function(state, &it->second->handler); lua_rawsetp(state, -2, NULL); |
