diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-10-18 11:29:30 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-10-18 11:29:30 +0000 |
commit | 64ffd93566bb6dc40dbc338aac969adfc1615ed7 (patch) | |
tree | d1162e2272714f88bcf974ba2c3c75b53da92571 /src/char/char.h | |
parent | 76a15224480ae093a7bf1ff456acbbde45a8c153 (diff) | |
download | hercules-64ffd93566bb6dc40dbc338aac969adfc1615ed7.tar.gz hercules-64ffd93566bb6dc40dbc338aac969adfc1615ed7.tar.bz2 hercules-64ffd93566bb6dc40dbc338aac969adfc1615ed7.tar.xz hercules-64ffd93566bb6dc40dbc338aac969adfc1615ed7.zip |
Removed the char_rename setting in favor of a PACKETVER define.
Inverted the way renames are counted: '0' now means 'no renames left' (the default).
Please make sure your database matches this new behavior before starting the server.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14093 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char/char.h')
-rw-r--r-- | src/char/char.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/char/char.h b/src/char/char.h index 8c8d7c554..b53f66ffa 100644 --- a/src/char/char.h +++ b/src/char/char.h @@ -16,6 +16,12 @@ struct character_data { struct global_reg global[GLOBAL_REG_NUM]; }; +// server->client protocol version +// 20061023 - 2006-10-23aSakexe+ - 0x6b, 0x6d +#ifndef PACKETVER + #define PACKETVER 20061023 +#endif + struct mmo_charstatus* search_character(int aid, int cid); struct mmo_charstatus* search_character_byname(char* character_name); int search_character_index(char* character_name); |