diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-29 12:57:02 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-29 12:58:23 +0100 |
commit | fc6f5d1bfac9cfbfac8486c83258e59628dce6a0 (patch) | |
tree | df172709ee734afb8e2e0388fab2dd64167c549d /crawl-ref/source/exclude.cc | |
parent | 2e40e11193418fdcf8433fe85cb1b66241f2b217 (diff) | |
download | crawl-ref-fc6f5d1bfac9cfbfac8486c83258e59628dce6a0.tar.gz crawl-ref-fc6f5d1bfac9cfbfac8486c83258e59628dce6a0.zip |
Fix initialisation of autoex in travel_exclude.
Hopefully this fixes the autoremove-on-restore bug (2887690).
Diffstat (limited to 'crawl-ref/source/exclude.cc')
-rw-r--r-- | crawl-ref/source/exclude.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/exclude.cc b/crawl-ref/source/exclude.cc index e68464cef5..211d3857b7 100644 --- a/crawl-ref/source/exclude.cc +++ b/crawl-ref/source/exclude.cc @@ -112,9 +112,9 @@ static opacity_excl opc_excl; travel_exclude::travel_exclude(const coord_def &p, int r, bool autoexcl, monster_type mons, bool vaultexcl) -: pos(p), radius(r), -los(los_def(p, opc_excl, bounds_radius(r))), -uptodate(false), autoex(autoex), mon(mons), vault(vaultexcl) + : pos(p), radius(r), + los(los_def(p, opc_excl, bounds_radius(r))), + uptodate(false), autoex(autoexcl), mon(mons), vault(vaultexcl) { set_los(); } |