From a99ad56b2d84c930ee7c0ff4628c96eed1d200dc Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Tue, 20 Oct 2009 16:54:58 +0200 Subject: Move grd_lib out of clua.cc into l_mapgrd.cc. Rest of commit comment only as accurate as my understanding... Renaming from grd to mapgrd to avoid confusion with grd == env.grid: This grd is the maplines-section of a vault definition. Also move mapgrd_lib from clua to dlua since it's only used for dungeon building. clua and dlua need more descriptive names. --- crawl-ref/source/l_dgnbld.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/l_dgnbld.cc') diff --git a/crawl-ref/source/l_dgnbld.cc b/crawl-ref/source/l_dgnbld.cc index bb51b62bf4..2f3fd0816e 100644 --- a/crawl-ref/source/l_dgnbld.cc +++ b/crawl-ref/source/l_dgnbld.cc @@ -17,7 +17,7 @@ static int dgn_grd_table(lua_State *ls) { MAP(ls, 1, map); - map_def **mapref = clua_new_userdata(ls, GRD_METATABLE); + map_def **mapref = clua_new_userdata(ls, MAPGRD_METATABLE); *mapref = map; return (1); -- cgit v1.2.3-54-g00ecf