summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c
index ccf136040..51ff269b8 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -342,8 +342,9 @@ void map_delblcell(struct block_list *bl)
/*==========================================
* Adds a block to the map.
- * If flag is 1, then the block was just added
+ * If flag is 1, then the block was just added,
* otherwise it is part of a transition.
+ * Returns 0 on success, 1 on failure (illegal coordinates).
*------------------------------------------*/
int map_addblock_sub (struct block_list *bl, int flag)
{