diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-11-03 18:06:19 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-11-03 18:06:19 (GMT) |
| commit | e3a016d9c97bc0940f21e0063967b224953bdf7e (patch) | |
| tree | 710b9da533c3009445a4a2d177a2eb08da96e111 /src/cat/LuaScriptInterface.cpp | |
| parent | bd473f02caa618801513c67fff1cff1fbeb2da34 (diff) | |
| download | powder-e3a016d9c97bc0940f21e0063967b224953bdf7e.zip powder-e3a016d9c97bc0940f21e0063967b224953bdf7e.tar.gz | |
SC_SENSOR in Elements API
Diffstat (limited to 'src/cat/LuaScriptInterface.cpp')
| -rw-r--r-- | src/cat/LuaScriptInterface.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cat/LuaScriptInterface.cpp b/src/cat/LuaScriptInterface.cpp index 56da7e0..7faf943 100644 --- a/src/cat/LuaScriptInterface.cpp +++ b/src/cat/LuaScriptInterface.cpp @@ -700,6 +700,7 @@ void LuaScriptInterface::initElementsAPI() lua_pushinteger(l, SC_LIFE); lua_setfield(l, elementsAPI, "SC_LIFE"); lua_pushinteger(l, SC_TOOL); lua_setfield(l, elementsAPI, "SC_TOOL"); lua_pushinteger(l, SC_DECO); lua_setfield(l, elementsAPI, "SC_DECO"); + lua_pushinteger(l, SC_SENSOR); lua_setfield(l, elementsAPI, "SC_SENSOR"); //Element identifiers for(int i = 0; i < PT_NUM; i++) |
