summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-23 06:46:54 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-23 06:46:54 +0000
commit1fa3b3d27b2dc44b41516526314162f7e679a5c1 (patch)
treea07549336ee250e31450f83c2ed6dc1a2d489390
parentd28762e63974a9dbe1e642829df185cdd40abde5 (diff)
downloadhercules-1fa3b3d27b2dc44b41516526314162f7e679a5c1.tar.gz
hercules-1fa3b3d27b2dc44b41516526314162f7e679a5c1.tar.bz2
hercules-1fa3b3d27b2dc44b41516526314162f7e679a5c1.tar.xz
hercules-1fa3b3d27b2dc44b41516526314162f7e679a5c1.zip
- Merged START_ACCOUNT_NUM and END_ACCOUNT_NUM moved from login.h to mmo.h
- Merged more helpfull error messages when packet_ver=-1. (no more "clif_parse: Disconnecting session #XX for not having latest client version (has version -1)." messages). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9564 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--src/login/login.h2
-rw-r--r--src/login_sql/login.h3
-rw-r--r--src/map/clif.h2
3 files changed, 1 insertions, 6 deletions
diff --git a/src/login/login.h b/src/login/login.h
index 5a12902c7..38901ff33 100644
--- a/src/login/login.h
+++ b/src/login/login.h
@@ -4,8 +4,6 @@
#ifndef _LOGIN_H_
#define _LOGIN_H_
-#include "../common/mmo.h"
-
#define MAX_SERVERS 30
#define LOGIN_CONF_NAME "conf/login_athena.conf"
diff --git a/src/login_sql/login.h b/src/login_sql/login.h
index ca5844443..f3b604664 100644
--- a/src/login_sql/login.h
+++ b/src/login_sql/login.h
@@ -25,9 +25,6 @@
// It is made into 2 at the time of passwordencrypt2.
// When it is made 3, it corresponds to both.
-#define START_ACCOUNT_NUM 2000000
-#define END_ACCOUNT_NUM 100000000
-
struct mmo_account {
int version; //Added by sirius for versioncheck
char userid[NAME_LENGTH];
diff --git a/src/map/clif.h b/src/map/clif.h
index 3bef6dcda..46875eae0 100644
--- a/src/map/clif.h
+++ b/src/map/clif.h
@@ -45,7 +45,7 @@ enum {
DUEL_WOS
};
-// packet_db[SERVER] is reserver for server use
+// packet_db[SERVER] is reserved for server use
#define SERVER 0
#define packet_len(x) packet_db[SERVER][x].len
extern struct packet_db packet_db[MAX_PACKET_VER + 1][MAX_PACKET_DB];