summaryrefslogtreecommitdiff
path: root/src/elements/firw.c
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-04-19 15:37:53 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-04-19 15:37:53 (GMT)
commitb5a52838c7ac3d1339923d417a9d447eab42cc7d (patch)
tree90eddaa29e667a78c7ee7af49a5d1e93ea1c2252 /src/elements/firw.c
parentf93a829672c7aabb09ae9b958623a97105b8e28d (diff)
downloadpowder-b5a52838c7ac3d1339923d417a9d447eab42cc7d.zip
powder-b5a52838c7ac3d1339923d417a9d447eab42cc7d.tar.gz
Change STOR, PIPE, DUST to make correct use of .flags field.
Diffstat (limited to 'src/elements/firw.c')
-rw-r--r--src/elements/firw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/firw.c b/src/elements/firw.c
index 7415dcd..2e7d68d 100644
--- a/src/elements/firw.c
+++ b/src/elements/firw.c
@@ -23,7 +23,7 @@ int update_FIRW(UPDATE_FUNC_ARGS) {
parts[i].tmp=2;
} else {
float newVel = parts[i].life/25;
- parts[i].flags = parts[i].flags&0xFFFFFFFE;
+ parts[i].flags &= ~FLAG_STAGNANT;
/* TODO:
if ((pmap[(int)(ly-newVel)][(int)lx]&0xFF)==PT_NONE && ly-newVel>0) {
parts[i].vy = -newVel;