diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-11-20 04:45:35 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-11-21 02:38:35 +0100 |
commit | e3b47de840833e9178bfdfad20c598f632d78829 (patch) | |
tree | 99c00d10783a919ace3c9f9d5e681dda460b867f /crawl-ref/source/spl-transloc.h | |
parent | a3e32e4b783f13a6f71238bd3ec7bf3f9fd4f137 (diff) | |
download | crawl-ref-e3b47de840833e9178bfdfad20c598f632d78829.tar.gz crawl-ref-e3b47de840833e9178bfdfad20c598f632d78829.zip |
Make levels 1 and 2 of teleportitis dislocate you only a limited distance.
Not sure what the values should be. The current values are those of portal
timer messages. The problem is, range 30 covers the map nearly edge-to-edge
from the center, but you'd need over 100 if you want to get from one corner
to the other.
This doesn't affect controlled teleports; not wasting time now because of
the ongoing discussion about cTele.
Diffstat (limited to 'crawl-ref/source/spl-transloc.h')
-rw-r--r-- | crawl-ref/source/spl-transloc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-transloc.h b/crawl-ref/source/spl-transloc.h index 5904ab1453..68920d1af1 100644 --- a/crawl-ref/source/spl-transloc.h +++ b/crawl-ref/source/spl-transloc.h @@ -16,7 +16,8 @@ spret_type cast_teleport_self(bool fail); void you_teleport(); void you_teleport_now(bool allow_control, bool new_abyss_area = false, - bool wizard_tele = false); + bool wizard_tele = false, + int range = GDM); bool you_teleport_to(const coord_def where, bool move_monsters = false); |