summaryrefslogtreecommitdiff
path: root/src/pythonconsole.c
diff options
context:
space:
mode:
authorjacksonmj <mj-pt@jacksonmj.co.uk>2011-08-20 19:41:39 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-08-22 00:02:02 (GMT)
commit75cb924bd9d0525646bbdabf8959b58e149b7442 (patch)
treebd6c6cd9bf74c72b176f5a2915a95bb5ed36300a /src/pythonconsole.c
parent27a95c7684de3cb568e27193eec7fdffd2a7f23b (diff)
downloadpowder-75cb924bd9d0525646bbdabf8959b58e149b7442.zip
powder-75cb924bd9d0525646bbdabf8959b58e149b7442.tar.gz
Fix electrode when in replace mode or specific delete mode
Also fix bomb when SLALT != 0
Diffstat (limited to 'src/pythonconsole.c')
-rw-r--r--src/pythonconsole.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pythonconsole.c b/src/pythonconsole.c
index 4dc5072..c7d7d51 100644
--- a/src/pythonconsole.c
+++ b/src/pythonconsole.c
@@ -847,7 +847,7 @@ static PyObject* emb_delete(PyObject *self, PyObject *args)
int x,y;
if (!PyArg_ParseTuple(args, "ii:delete",&x,&y))
return NULL;
- delete_part(x,y);
+ delete_part(x,y, 0);
return Py_BuildValue("i",1);
}