summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/travel.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/travel.h')
-rw-r--r--crawl-ref/source/travel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/travel.h b/crawl-ref/source/travel.h
index 9f998ec188..c5a12529dc 100644
--- a/crawl-ref/source/travel.h
+++ b/crawl-ref/source/travel.h
@@ -225,6 +225,8 @@ public:
level_type = LEVEL_DUNGEON;
}
+ int absdepth() const;
+
bool is_valid() const
{
return (branch != NUM_BRANCHES && depth != -1)
@@ -265,8 +267,6 @@ public:
}
- int absdepth() const;
-
void save(writer&) const;
void load(reader&);
};