summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dlua.h
diff options
context:
space:
mode:
authorDarshan Shaligram <dshaligram@users.sourceforge.net>2010-12-06 12:26:05 +0530
committerDarshan Shaligram <dshaligram@users.sourceforge.net>2010-12-06 12:27:11 +0530
commit181913c1bc9a7338cc783285972ba15e2e97c59b (patch)
treeea8f6522b34a26e293433f571a3f398786707682 /crawl-ref/source/dlua.h
parent4f5cb9def13827d50950497c2c0eef8ec0a83fa1 (diff)
downloadcrawl-ref-181913c1bc9a7338cc783285972ba15e2e97c59b.tar.gz
crawl-ref-181913c1bc9a7338cc783285972ba15e2e97c59b.zip
Fix map transforms accessing areas outside the map grid (kilobyte).
Diffstat (limited to 'crawl-ref/source/dlua.h')
-rw-r--r--crawl-ref/source/dlua.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/dlua.h b/crawl-ref/source/dlua.h
index 5e99ba47b2..02f30f8bee 100644
--- a/crawl-ref/source/dlua.h
+++ b/crawl-ref/source/dlua.h
@@ -17,6 +17,7 @@ extern CLua dlua;
// Lua chunks cannot exceed 512K. Which is plenty!
const int LUA_CHUNK_MAX_SIZE = 512 * 1024;
+const int E_CHUNK_LOAD_FAILURE = -1000;
class reader;
class writer;