summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon <simon@hardwired.org.uk>2010-11-03 14:29:01 (GMT)
committer Simon <simon@hardwired.org.uk>2010-11-03 14:29:01 (GMT)
commitd1ce8e55dfd07faa3eb8029ea47a1db6a30f6988 (patch)
treee9b1dc61f4dfce816cc038bce3482b6e26f73042 /src
parentc3a0a9262c0d00056857af18d93252c87410bad1 (diff)
downloadpowder-d1ce8e55dfd07faa3eb8029ea47a1db6a30f6988.zip
powder-d1ce8e55dfd07faa3eb8029ea47a1db6a30f6988.tar.gz
A Comment
Diffstat (limited to 'src')
-rw-r--r--src/air.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/air.c b/src/air.c
index dd98a12..385abef 100644
--- a/src/air.c
+++ b/src/air.c
@@ -124,6 +124,7 @@ void update_air(void)
dy += fvy[y][x];
}
+ //Pressure Caps, remove for lulz
if(dp > 256.0f) dp = 256.0f;
if(dp < -256.0f) dp = -256.0f;
if(dx > 256.0f) dx = 256.0f;