summaryrefslogtreecommitdiffstats
path: root/crawl-ref/docs/develop/levels/advanced.txt
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/docs/develop/levels/advanced.txt')
-rw-r--r--crawl-ref/docs/develop/levels/advanced.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/docs/develop/levels/advanced.txt b/crawl-ref/docs/develop/levels/advanced.txt
index a477d446e5..4a061f0034 100644
--- a/crawl-ref/docs/develop/levels/advanced.txt
+++ b/crawl-ref/docs/develop/levels/advanced.txt
@@ -811,11 +811,11 @@ Additionally, the dgn module provides a global "mapgrd" variable that
can access the current map glyphs. The top left symbol in the map
can be assigned like this:
- mapgrd[1][1] = 'x'
+ mapgrd[0][0] = 'x'
The bottom right symbol can be assigned like this:
- mapgrd[width()][height()] = "."
+ mapgrd[width()-1][height()-1] = "."
Lua API - global game state