diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-11-06 19:32:09 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-06 19:32:09 +0100 |
commit | 22adbee6a63d3fb1ee05d0e6ff41e80e95b4afc7 (patch) | |
tree | 77a72f9783d93c2236e1d74d71c5c521468b77f5 /crawl-ref | |
parent | 8786fef5e47392ca5c3daa8e932c10e7c1ef9715 (diff) | |
download | crawl-ref-22adbee6a63d3fb1ee05d0e6ff41e80e95b4afc7.tar.gz crawl-ref-22adbee6a63d3fb1ee05d0e6ff41e80e95b4afc7.zip |
Restore direct setting of you.position in arena.
The call to set_position was triggering an ASSERT.
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/arena.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/arena.cc b/crawl-ref/source/arena.cc index 36da169eef..902407591f 100644 --- a/crawl-ref/source/arena.cc +++ b/crawl-ref/source/arena.cc @@ -866,7 +866,7 @@ namespace arena viewwindow(true, false); unwind_var<coord_def> pos(you.position); // Move hero offscreen. - you.set_position(coord_def(-1,-1)); + you.position.y = -1; you.time_taken = 10; // Make sure we don't starve. you.hunger = 10999; |