diff options
Diffstat (limited to 'crawl-ref/source/directn.h')
-rw-r--r-- | crawl-ref/source/directn.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/directn.h b/crawl-ref/source/directn.h index 13b2dd7c60..500b6089cb 100644 --- a/crawl-ref/source/directn.h +++ b/crawl-ref/source/directn.h @@ -40,8 +40,12 @@ public: }; // output from direction() function: -struct dist +class dist { +public: + dist(); + +public: bool isValid; // valid target chosen? bool isTarget; // target (true), or direction (false)? bool isMe; // selected self (convenience: target == you.pos()) |