summaryrefslogtreecommitdiff
path: root/src/luaconsole.c
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2011-12-08 09:56:18 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-12-19 12:43:28 (GMT)
commit9d73a5f5bfb1888daa78dc6e12520166a4a387e2 (patch)
tree74131cd2afec0d987a62f0a6b308f579bad079c9 /src/luaconsole.c
parent12bf65f9543f23b152b2d066b8e6c77c632f788d (diff)
downloadpowder-9d73a5f5bfb1888daa78dc6e12520166a4a387e2.zip
powder-9d73a5f5bfb1888daa78dc6e12520166a4a387e2.tar.gz
Revert "Directly read/write element type properties"
This reverts commit 0da91a783f51aa6ab1fe2648fc34f80efc38a504.
Diffstat (limited to 'src/luaconsole.c')
-rw-r--r--src/luaconsole.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/luaconsole.c b/src/luaconsole.c
index 072b67e..4bfeb4d 100644
--- a/src/luaconsole.c
+++ b/src/luaconsole.c
@@ -157,7 +157,6 @@ tpt.partsdata = nil");
tptElements = lua_gettop(l);
for(i = 1; i < PT_NUM; i++)
{
- int currentElement, currentElementMeta;
for(j = 0; j < strlen(ptypes[i].name); j++)
tmpname[j] = tolower(ptypes[i].name[j]);
tmpname[strlen(ptypes[i].name)] = 0;