summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/l_dgnlvl.cc
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2009-10-20 14:13:42 -0700
committerSteven Noonan <steven@uplinklabs.net>2009-10-20 14:13:42 -0700
commitd6ea58e6f13e85f4121ab488c09721f6d388a977 (patch)
tree0eceed1e0820c08b3dc995002ccc32f112e084ba /crawl-ref/source/l_dgnlvl.cc
parentc0d232cd853f335b240b125380ed827f52c080ca (diff)
downloadcrawl-ref-d6ea58e6f13e85f4121ab488c09721f6d388a977.tar.gz
crawl-ref-d6ea58e6f13e85f4121ab488c09721f6d388a977.zip
cosmetic: strip trailing whitespace
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/l_dgnlvl.cc')
-rw-r--r--crawl-ref/source/l_dgnlvl.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/crawl-ref/source/l_dgnlvl.cc b/crawl-ref/source/l_dgnlvl.cc
index a5237096f1..9109b9ae2c 100644
--- a/crawl-ref/source/l_dgnlvl.cc
+++ b/crawl-ref/source/l_dgnlvl.cc
@@ -60,7 +60,7 @@ level_id dlua_level_id(lua_State *ls, int ndx)
const level_id *lid = static_cast<level_id*>(lua_touserdata(ls, ndx));
return (*lid);
}
-
+
luaL_argerror(ls, ndx, "Expected level_id");
// Never gets here.
return level_id();
@@ -90,15 +90,15 @@ LUAFN(dgn_set_level_type_name)
luaL_error(ls, "Can only set level type name on portal vaults");
return(0);
}
-
+
if (!lua_isstring(ls, 1))
{
luaL_argerror(ls, 1, "Expected string for level type name");
return(0);
}
-
+
you.level_type_name = luaL_checkstring(ls, 1);
-
+
return(0);
}
@@ -110,16 +110,16 @@ LUAFN(dgn_set_level_type_name_abbrev)
"portal vaults");
return(0);
}
-
+
if (!lua_isstring(ls, 1))
{
luaL_argerror(ls, 1, "Expected string for level type name "
"abbreviation");
return(0);
}
-
+
you.level_type_name_abbrev = luaL_checkstring(ls, 1);
-
+
return(0);
}
@@ -130,15 +130,15 @@ LUAFN(dgn_set_level_type_origin)
luaL_error(ls, "Can only set level type origin on portal vaults");
return(0);
}
-
+
if (!lua_isstring(ls, 1))
{
luaL_argerror(ls, 1, "Expected string for level type origin");
return(0);
}
-
+
you.level_type_origin = luaL_checkstring(ls, 1);
-
+
return(0);
}