summaryrefslogtreecommitdiff
path: root/src/simulation/Gravity.cpp
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2013-07-13 16:06:43 (GMT)
committer jacob1 <jfu614@gmail.com>2013-07-13 16:06:43 (GMT)
commit864f0e6f4528e9cf4ecf225dd655c29a77de171e (patch)
treeb0a9ec1f8bccca857e00f8f7c1a017f20852dd2e /src/simulation/Gravity.cpp
parent34db317e446b918d5e388f9b01e64704e2cf9f31 (diff)
downloadpowder-864f0e6f4528e9cf4ecf225dd655c29a77de171e.zip
powder-864f0e6f4528e9cf4ecf225dd655c29a77de171e.tar.gz
WIFI lines aren't drawn in persistent mode, and are based on current temp, not tmp, so they work when paused
Diffstat (limited to 'src/simulation/Gravity.cpp')
-rwxr-xr-xsrc/simulation/Gravity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation/Gravity.cpp b/src/simulation/Gravity.cpp
index 4fccbd3..4d5bbe4 100755
--- a/src/simulation/Gravity.cpp
+++ b/src/simulation/Gravity.cpp
@@ -458,7 +458,7 @@ void Gravity::mask_free(mask_el *c_mask_el){
void Gravity::gravity_mask()
{
char checkmap[YRES/CELL][XRES/CELL];
- int x = 0, y = 0, i, j;
+ int x = 0, y = 0;
unsigned maskvalue;
mask_el *t_mask_el = NULL;
mask_el *c_mask_el = NULL;