diff options
author | Neil Moore <neil@s-z.org> | 2012-08-01 16:09:16 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2012-08-01 17:08:37 -0400 |
commit | 1cc90225baf47270bbe2a22c1ecbbc839eaa2b90 (patch) | |
tree | bd8816720989c3d2193ccaa82cbca5f7b6f2deca /crawl-ref/source/cluautil.cc | |
parent | a0a9240421e89e77aac6011671931521d7e60f0a (diff) | |
download | crawl-ref-1cc90225baf47270bbe2a22c1ecbbc839eaa2b90.tar.gz crawl-ref-1cc90225baf47270bbe2a22c1ecbbc839eaa2b90.zip |
Massive style fix (braces, indentation, etc.)
Diffstat (limited to 'crawl-ref/source/cluautil.cc')
-rw-r--r-- | crawl-ref/source/cluautil.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/cluautil.cc b/crawl-ref/source/cluautil.cc index e86e264437..1238cde369 100644 --- a/crawl-ref/source/cluautil.cc +++ b/crawl-ref/source/cluautil.cc @@ -110,7 +110,9 @@ int clua_pushpoint(lua_State *ls, const coord_def &pos) lua_pushnumber(ls, pos.y); CLua &vm(CLua::get_vm(ls)); if (!vm.callfn("dgn.point", 2, 1)) + { luaL_error(ls, "dgn.point(%d,%d) failed: %s", pos.x, pos.y, vm.error.c_str()); + } return 1; } |