diff options
| author | jacob1 <jfu614@gmail.com> | 2013-06-23 02:48:51 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-06-23 02:48:51 (GMT) |
| commit | 43540eb7e42facfd1dfa8eb213d8ee91ad35fa43 (patch) | |
| tree | 86dae3611218cc97b54532a35b46f3eb66ecaf53 /src/cat/LegacyLuaAPI.cpp | |
| parent | 625766028d8eb7bb6dcd28962a172546226a597e (diff) | |
| download | powder-43540eb7e42facfd1dfa8eb213d8ee91ad35fa43.zip powder-43540eb7e42facfd1dfa8eb213d8ee91ad35fa43.tar.gz | |
Add back replace mode and specific delete *
* only usable by Lua
Diffstat (limited to 'src/cat/LegacyLuaAPI.cpp')
| -rw-r--r-- | src/cat/LegacyLuaAPI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cat/LegacyLuaAPI.cpp b/src/cat/LegacyLuaAPI.cpp index b9afd7e..c8f02d1 100644 --- a/src/cat/LegacyLuaAPI.cpp +++ b/src/cat/LegacyLuaAPI.cpp @@ -1571,7 +1571,7 @@ int luatpt_delete(lua_State* l) } arg2 = abs(arg2); if(arg2 < YRES && arg1 < XRES){ - luacon_sim->delete_part(arg1, arg2, 0); + luacon_sim->delete_part(arg1, arg2); return 0; } return luaL_error(l,"Invalid coordinates or particle ID"); |
