summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-18 04:04:17 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-18 04:04:17 +0000
commit13c7d7cbceddc381bfaeb54889364780573dd0ae (patch)
tree9c44f890f3c7d33ec20ffbf0fa5bff4dba848215
parent0de2cb69ad279d1a1d39c16194522a7a0d3fd41c (diff)
downloadhercules-13c7d7cbceddc381bfaeb54889364780573dd0ae.tar.gz
hercules-13c7d7cbceddc381bfaeb54889364780573dd0ae.tar.bz2
hercules-13c7d7cbceddc381bfaeb54889364780573dd0ae.tar.xz
hercules-13c7d7cbceddc381bfaeb54889364780573dd0ae.zip
Fixed SQL compile error
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1247 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-SVN.txt1
-rw-r--r--src/char_sql/char.c5
2 files changed, 2 insertions, 4 deletions
diff --git a/Changelog-SVN.txt b/Changelog-SVN.txt
index 03b5d1291..cfabe9225 100644
--- a/Changelog-SVN.txt
+++ b/Changelog-SVN.txt
@@ -1,6 +1,7 @@
Date Added
03/17
+ * Fixed compile errors in SQL char.c [celest]
* Added ~86 new cards. Fixed new cards bugs, optimized [Lupus] thanks to Indiona,Landarma
* Removed nullpo warning from trade.c (my prev anti-spoof protection) [Lupus]
* Added the new Einbroch/Einbech maps to maps_athena.conf [celest]
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index a56aedf3c..65e388e3e 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -1767,16 +1767,13 @@ int parse_tologin(int fd) {
gm_account[GM_num].level = (int)RFIFOB(fd,6);
new_level = 1;
GM_num++;
- if (GM_num >= 4000) {
+ if (GM_num >= 4000)
printf("***WARNING: 4000 GM accounts found. Next GM accounts are not readed.\n");
- char_log("***WARNING: 4000 GM accounts found. Next GM accounts are not readed." RETCODE);
- }
}
}
if (new_level == 1) {
int len;
printf("From login-server: receiving a GM account information (%d: level %d).\n", RFIFOL(fd,2), (int)RFIFOB(fd,6));
- char_log("From login-server: receiving a GM account information (%d: level %d)." RETCODE, RFIFOL(fd,2), (int)RFIFOB(fd,6));
//create_online_files(); // not change online file for only 1 player (in next timer, that will be done
// send gm acccounts level to map-servers
len = 4;