diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-11-03 11:59:53 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-03 12:01:50 +0100 |
commit | c3ef566864421728eaafd453ce5b0a524457d641 (patch) | |
tree | e94e9eab2d7affaa95bba3c709219b64f03f8a4a /crawl-ref/source/ray.cc | |
parent | 095295bd6f6053fb1ad8e719ed78c942deccab0d (diff) | |
download | crawl-ref-c3ef566864421728eaafd453ce5b0a524457d641.tar.gz crawl-ref-c3ef566864421728eaafd453ce5b0a524457d641.zip |
Improve error handling in lua interpreter.
lua_pcall is now passing 0 for errfunc so the plain error message
comes out. Also, remove the call to lua_gc on error since that
was causing further errors.
This is probably not the right way to do things but hopefully an
improvement for now.
Diffstat (limited to 'crawl-ref/source/ray.cc')
0 files changed, 0 insertions, 0 deletions