diff options
| author | Simon 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) |
| commit | 28fdb32bfb81f48170138c1b62fbca310ab84622 (patch) | |
| tree | 4cb54b9934898f84b9c519a23421111045f1971a /src/simulation/elements/PSTN.cpp | |
| parent | 527a7a1ca6e1413ddf0ea27fe0fc60c4e9a060ca (diff) | |
| download | powder-28fdb32bfb81f48170138c1b62fbca310ab84622.zip powder-28fdb32bfb81f48170138c1b62fbca310ab84622.tar.gz | |
Clean up some unused variables from PSTN.cpp
Diffstat (limited to 'src/simulation/elements/PSTN.cpp')
| -rw-r--r-- | src/simulation/elements/PSTN.cpp | 4 |
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++) |
