diff options
author | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2010-01-31 22:14:53 +0100 |
---|---|---|
committer | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2010-01-31 22:14:53 +0100 |
commit | 24cef5c20df19fbdd1c3ed30e355e5a72e985e13 (patch) | |
tree | 6a764cc0e3facc6c4b40d7db8d7ab9400fcb75a8 /crawl-ref/source/mon-transit.cc | |
parent | e350cfb8144f57fcc25feac6031e54769a3f3d70 (diff) | |
download | crawl-ref-24cef5c20df19fbdd1c3ed30e355e5a72e985e13.tar.gz crawl-ref-24cef5c20df19fbdd1c3ed30e355e5a72e985e13.zip |
Re-add the -5 to follower::place() monster loop.
I don't understand its purpose, but commenting out the -5 was entirely
accidental. There's no comment either. Can anyone explain?
Diffstat (limited to 'crawl-ref/source/mon-transit.cc')
-rw-r--r-- | crawl-ref/source/mon-transit.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-transit.cc b/crawl-ref/source/mon-transit.cc index edc6de9074..517189233a 100644 --- a/crawl-ref/source/mon-transit.cc +++ b/crawl-ref/source/mon-transit.cc @@ -241,7 +241,7 @@ void follower::load_mons_items() bool follower::place(bool near_player) { - for (int i = 0; i < MAX_MONSTERS /*- 5*/; ++i) + for (int i = 0; i < MAX_MONSTERS - 5; ++i) { // Find first empty slot in menv and copy monster into it. monsters &m = menv[i]; |