summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/travel.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2011-04-06 15:52:31 +0200
committerRaphael Langella <raphael.langella@gmail.com>2011-04-06 21:14:50 +0200
commit73cc6068d432aec5773486be4f9821cf2d3ea70e (patch)
tree43bfd0ce8fb9b49f015c2789eb2b47a159b90e1c /crawl-ref/source/travel.h
parentff519cd151a0d623893ba1ed8b6c47922cc1f104 (diff)
downloadcrawl-ref-73cc6068d432aec5773486be4f9821cf2d3ea70e.tar.gz
crawl-ref-73cc6068d432aec5773486be4f9821cf2d3ea70e.zip
Fix travel failing to start if standing right next to a cloud.
See #3709. It doesn't address the bug that put you in the cloud (I couldn't reproduce that).
Diffstat (limited to 'crawl-ref/source/travel.h')
-rw-r--r--crawl-ref/source/travel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/travel.h b/crawl-ref/source/travel.h
index 5a21c8ec86..51e8efa491 100644
--- a/crawl-ref/source/travel.h
+++ b/crawl-ref/source/travel.h
@@ -141,6 +141,9 @@ const int PD_EXCLUDED = -20099;
// This square is within LOS radius of an excluded square
const int PD_EXCLUDED_RADIUS = -20100;
+// This square has a damaging cloud
+const int PD_CLOUD = -20101;
+
/* ***********************************************************************
* Array of points on the map, each value being the distance the character
* would have to travel to get there. Negative distances imply that the point