summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenpachi Developer <Kenpachi.Developer@gmx.de>2020-05-23 09:29:23 +0200
committerKenpachi Developer <Kenpachi.Developer@gmx.de>2020-06-01 23:34:23 +0200
commit3c16038f18dbc639362fa60289eb115a1393b21b (patch)
tree5bc7ac218c1d07da3858f81d6d00e1d2515c8865
parent9b514dfcb3f185d7f12024ec252eb3081b68cad3 (diff)
downloadhercules-3c16038f18dbc639362fa60289eb115a1393b21b.tar.gz
hercules-3c16038f18dbc639362fa60289eb115a1393b21b.tar.bz2
hercules-3c16038f18dbc639362fa60289eb115a1393b21b.tar.xz
hercules-3c16038f18dbc639362fa60289eb115a1393b21b.zip
Remove nonexistent return value -3 from documentation of instance_create() function
-rw-r--r--src/map/instance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/instance.c b/src/map/instance.c
index 95b1b2baa..d2c0a229c 100644
--- a/src/map/instance.c
+++ b/src/map/instance.c
@@ -68,7 +68,7 @@ static bool instance_is_valid(int instance_id)
/*--------------------------------------
* name : instance name
* Return value could be
- * -4 = already exists | -3 = no free instances | -2 = owner not found | -1 = invalid type
+ * -4 = already exists | -2 = owner not found | -1 = invalid type
* On success return instance_id
*--------------------------------------*/
static int instance_create(int owner_id, const char *name, enum instance_owner_type type)