summaryrefslogtreecommitdiff
path: root/src/environment.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/environment.h')
-rw-r--r--src/environment.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/environment.h b/src/environment.h
index 3ebbee910..f8df77f79 100644
--- a/src/environment.h
+++ b/src/environment.h
@@ -130,7 +130,8 @@ struct ABMWithState
float timer;
ABMWithState(ActiveBlockModifier *abm_):
- abm(abm_)
+ abm(abm_),
+ timer(0)
{}
};