diff options
| author | jacob1 <jfu614@gmail.com> | 2013-06-06 15:52:33 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-06-06 15:52:33 (GMT) |
| commit | b594d6825858615c835d26510a6cc9a22bc239e2 (patch) | |
| tree | 96b7f95d5abd54d92f9596066cef67595917c3f9 /src/cat | |
| parent | 2119343b6a76bdc6bda0fb62cea46f0a6b2df285 (diff) | |
| download | powder-b594d6825858615c835d26510a6cc9a22bc239e2.zip powder-b594d6825858615c835d26510a6cc9a22bc239e2.tar.gz | |
WIND tool creates WIND just by holding down the line tool again
Diffstat (limited to 'src/cat')
| -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 fb01802..df7176d 100644 --- a/src/cat/LuaScriptInterface.cpp +++ b/src/cat/LuaScriptInterface.cpp @@ -494,6 +494,7 @@ void LuaScriptInterface::initSimulationAPI() SETCONST(l, XRES); SETCONST(l, YRES); SETCONST(l, PT_NUM); + lua_pushinteger(l, 0); lua_setfield(l, -2, "NUM_PARTS"); SETCONST(l, R_TEMP); SETCONST(l, MAX_TEMP); SETCONST(l, MIN_TEMP); |
