summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-18 12:48:56 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-18 12:48:56 +0000
commit2ce4ea3324da64930c77076194e2e8b2b8ab2e49 (patch)
treeceaf8c62f7e8a47f5e94f5cdad91455b1f33eb0f /src/common
parentf53dd3e3e3ae847c0871050464fc25f3f5863101 (diff)
downloadhercules-2ce4ea3324da64930c77076194e2e8b2b8ab2e49.tar.gz
hercules-2ce4ea3324da64930c77076194e2e8b2b8ab2e49.tar.bz2
hercules-2ce4ea3324da64930c77076194e2e8b2b8ab2e49.tar.xz
hercules-2ce4ea3324da64930c77076194e2e8b2b8ab2e49.zip
* Updates to handling of hair color/style and cloth color of characters.
- Moved limit shortcut defines from mmo.h to battle.h, as they are only required in files, which include battle.h (since pre-svn 2004/10/15). - Moved hair style/color validation from char-server to map-server. This enables use of non-default limits as specified in battle config, rather than being restricted to hard-coded ones (bugreport:150). - Cleaned up related capping of values in pc_changelook (related r1708). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14604 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common')
-rw-r--r--src/common/mmo.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index d2bc93a04..994a1d6a2 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -108,13 +108,6 @@
#define MAX_QUEST_DB 2000 //Max quests that the server will load
#define MAX_QUEST_OBJECTIVES 3 //Max quest objectives for a quest
-#define MIN_HAIR_STYLE battle_config.min_hair_style
-#define MAX_HAIR_STYLE battle_config.max_hair_style
-#define MIN_HAIR_COLOR battle_config.min_hair_color
-#define MAX_HAIR_COLOR battle_config.max_hair_color
-#define MIN_CLOTH_COLOR battle_config.min_cloth_color
-#define MAX_CLOTH_COLOR battle_config.max_cloth_color
-
// for produce
#define MIN_ATTRIBUTE 0
#define MAX_ATTRIBUTE 4