diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-06-04 10:42:28 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-06-04 10:42:28 +0000 |
commit | 48593ab2d1e735cd337b9d12d5e5d772f737bd8a (patch) | |
tree | a20545f5462d2cbb51a9e56daa436e9b28097f82 /crawl-ref/source/travel.h | |
parent | 3f06459851fbce40c0f213afe13ae47034a8e736 (diff) | |
download | crawl-ref-48593ab2d1e735cd337b9d12d5e5d772f737bd8a.tar.gz crawl-ref-48593ab2d1e735cd337b9d12d5e5d772f737bd8a.zip |
[1723695] Fixed unholy (and silly) travel cache corruption bug.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1528 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/travel.h')
-rw-r--r-- | crawl-ref/source/travel.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/travel.h b/crawl-ref/source/travel.h index 1375b4caf6..ecda8e5a12 100644 --- a/crawl-ref/source/travel.h +++ b/crawl-ref/source/travel.h @@ -447,7 +447,8 @@ private: void fixup_levels(); private: - std::map<level_id, LevelInfo> levels; + typedef std::map<level_id, LevelInfo> travel_levels_map; + travel_levels_map levels; level_pos waypoints[TRAVEL_WAYPOINT_COUNT]; }; |