summaryrefslogtreecommitdiff
path: root/src/simulation/elements
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2013-01-22 22:42:52 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2013-01-22 22:42:52 (GMT)
commit28fdb32bfb81f48170138c1b62fbca310ab84622 (patch)
tree4cb54b9934898f84b9c519a23421111045f1971a /src/simulation/elements
parent527a7a1ca6e1413ddf0ea27fe0fc60c4e9a060ca (diff)
downloadpowder-28fdb32bfb81f48170138c1b62fbca310ab84622.zip
powder-28fdb32bfb81f48170138c1b62fbca310ab84622.tar.gz
Clean up some unused variables from PSTN.cpp
Diffstat (limited to 'src/simulation/elements')
-rw-r--r--src/simulation/elements/PSTN.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/simulation/elements/PSTN.cpp b/src/simulation/elements/PSTN.cpp
index 6405fdd..3cb2320 100644
--- a/src/simulation/elements/PSTN.cpp
+++ b/src/simulation/elements/PSTN.cpp
@@ -55,10 +55,8 @@ int Element_PSTN::tempParts[128];
int Element_PSTN::update(UPDATE_FUNC_ARGS)
{
int maxSize = parts[i].tmp ? parts[i].tmp : 15;
- int currentSize = parts[i].tmp2&0xFF;
- int currentDirection = (parts[i].tmp2>>8)&0xFF;
int state = parts[i].ctype;
- int r, nxx, nyy, docontinue, nxi, nyi, rx, ry, nr, ry1, rx1;
+ int r, nxx, nyy, nxi, nyi, rx, ry;
if (parts[i].life==0 && !state) {
for (rx=-1; rx<2; rx++)
for (ry=-1; ry<2; ry++)