diff options
author | Adam Borowski <kilobyte@angband.pl> | 2010-02-05 10:25:21 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2010-02-05 10:37:51 +0100 |
commit | dbe4be89705e7767ab52af62b76a36567012ca0e (patch) | |
tree | 9656d4a199a75807ec7d192dc4a1c91ee7dbf282 /crawl-ref/source/stash.h | |
parent | ab4793bd9d21beeb4890a58289b03ae2da240685 (diff) | |
download | crawl-ref-dbe4be89705e7767ab52af62b76a36567012ca0e.tar.gz crawl-ref-dbe4be89705e7767ab52af62b76a36567012ca0e.zip |
Don't have stash tracking use separate versioning. Drop another int-in-float abuse.
Diffstat (limited to 'crawl-ref/source/stash.h')
-rw-r--r-- | crawl-ref/source/stash.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/stash.h b/crawl-ref/source/stash.h index 9455ff0797..e536171ebc 100644 --- a/crawl-ref/source/stash.h +++ b/crawl-ref/source/stash.h @@ -283,7 +283,7 @@ public: || you.level_type == LEVEL_ABYSS; } - StashTracker() : levels(), last_corpse_update(0.0) + StashTracker() : levels(), last_corpse_update(0) { } @@ -343,7 +343,7 @@ private: typedef std::map<level_id, LevelStashes> stash_levels_t; stash_levels_t levels; - double last_corpse_update; + long last_corpse_update; friend class ST_ItemIterator; }; |