diff options
| author | Perttu Ahola <celeron55@gmail.com> | 2012-01-02 20:26:33 +0200 |
|---|---|---|
| committer | Perttu Ahola <celeron55@gmail.com> | 2012-01-02 20:26:33 +0200 |
| commit | 46302813186253a993b9f901fa5f3097961d3229 (patch) | |
| tree | e06c5cbb895cc2938e0c4e1102c6150fe72df70a /src/environment.h | |
| parent | cd0019acd28bf7d2b6de44fc366804f0d17c80b2 (diff) | |
| download | dragonfireclient-46302813186253a993b9f901fa5f3097961d3229.tar.xz | |
Fix ABM trigger chance being often way too high
Diffstat (limited to 'src/environment.h')
| -rw-r--r-- | src/environment.h | 3 |
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) {} }; |
