diff options
Diffstat (limited to 'crawl-ref/docs')
-rw-r--r-- | crawl-ref/docs/develop/levels/advanced.txt | 4 |
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 |