summaryrefslogtreecommitdiff
path: root/src/char/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-15 21:04:57 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-15 21:04:57 +0300
commitc4a3fd1133cea06a1716ae81d9c5cf8b7f1ddb8b (patch)
treece2941e18d6dff40cecb78fa5d91982e53554752 /src/char/init.c
parent6c520b880e31c4ce281999ad6bdb80bd6bbd6634 (diff)
downloadplugin-c4a3fd1133cea06a1716ae81d9c5cf8b7f1ddb8b.tar.gz
plugin-c4a3fd1133cea06a1716ae81d9c5cf8b7f1ddb8b.tar.bz2
plugin-c4a3fd1133cea06a1716ae81d9c5cf8b7f1ddb8b.tar.xz
plugin-c4a3fd1133cea06a1716ae81d9c5cf8b7f1ddb8b.zip
char: validate player look value on char creation.
Diffstat (limited to 'src/char/init.c')
-rw-r--r--src/char/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/char/init.c b/src/char/init.c
index 440b81c..e4b5f84 100644
--- a/src/char/init.c
+++ b/src/char/init.c
@@ -74,6 +74,8 @@ HPExport void server_preinit (void)
addCharInterConf("inter_server_ip", config_inter_server_ip);
addCharConf("min_char_class", config_min_char_class);
addCharConf("max_char_class", config_max_char_class);
+ addCharConf("min_cloth_color", config_min_look);
+ addCharConf("max_cloth_color", config_max_look);
}
HPExport void server_online (void)