diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-15 15:05:32 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-15 15:05:32 +0000 |
commit | 3e2e58c1756b2942fc7294cd1f36b7341e6555cd (patch) | |
tree | 89184aed140a37044a4b7ff02bf536df2f593f0c /crawl-ref/source/mapdef.cc | |
parent | e70481a7e1e421d857655c69e678e0674dd3ceea (diff) | |
download | crawl-ref-3e2e58c1756b2942fc7294cd1f36b7341e6555cd.tar.gz crawl-ref-3e2e58c1756b2942fc7294cd1f36b7341e6555cd.zip |
Add minor whitespace fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3649 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mapdef.cc')
-rw-r--r-- | crawl-ref/source/mapdef.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/mapdef.cc b/crawl-ref/source/mapdef.cc index fb4723ede2..5f60c44453 100644 --- a/crawl-ref/source/mapdef.cc +++ b/crawl-ref/source/mapdef.cc @@ -2048,7 +2048,7 @@ void mons_list::get_zombie_type(std::string s, mons_spec &spec) const " zombie", " skeleton", " simulacrum", NULL }; - // This order must match zombie_types, indexed from one. + // This order must match zombie_types, indexed from one. static const monster_type zombie_montypes[][2] = { { MONS_PROGRAM_BUG, MONS_PROGRAM_BUG }, @@ -2076,7 +2076,7 @@ void mons_list::get_zombie_type(std::string s, mons_spec &spec) const s = s.substr(0, s.length() - strlen(zombie_types[mod - 1])); trim_string(s); - + spec.monnum = get_monster_by_name(s, true); const int zombie_size = mons_zombie_size(spec.monnum); |