summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-11 12:13:20 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-11 12:13:20 +0000
commit61913f7c7688300d783ee5836d50e44048728e28 (patch)
tree272164d089a5d874e167187a3f156be6bdcb19f6
parent8dee756c8e774cd44d652d1606ab21126233a9f6 (diff)
downloadhercules-61913f7c7688300d783ee5836d50e44048728e28.tar.gz
hercules-61913f7c7688300d783ee5836d50e44048728e28.tar.bz2
hercules-61913f7c7688300d783ee5836d50e44048728e28.tar.xz
hercules-61913f7c7688300d783ee5836d50e44048728e28.zip
* Fixed error message in intif_parse_mercenary_received printing wrong struct size (bugreport:4633, since r13116).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14576 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt4
-rw-r--r--src/map/intif.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index c4cb57182..51523562d 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -1,12 +1,14 @@
Date Added
+2010/12/11
+ * Fixed error message in intif_parse_mercenary_received printing wrong struct size (bugreport:4633, since r13116). [Ai4rei]
2010/12/10
* Replaced buildin_getpartyname_sub, buildin_getguildname_sub and buildin_getguildmaster_sub, which create only unnecessary overhead, with equivalent inlined code. [Ai4rei]
- Fixed a memory leak in getguildmasterid, when the guild leader was not online (bugreport:2743).
- Command getguildmasterid no longer requires the guild leader to be online.
* Fixed bAutoSpellOnSkill bonuses not working independently of each other (bugreport:4617, since r13596, related r14536). [Ai4rei]
* Revised argument declaration of all script commands according to the actual functions' argument usage. [Ai4rei]
- - Fixed many script commands with fixed amount of optional parameters to no longer accept any amount of arguments due to faulty declaration.
+ - Fixed many script commands with fixed amount of optional parameters to no longer accept any amount of arguments (faulty declaration).
- Corrected use of dummy parameter for guildopenstorage in scripts.
2010/12/09
* Removed some of the duplicate, storage-related packet code. [Ai4rei]
diff --git a/src/map/intif.c b/src/map/intif.c
index 98e8c0feb..aeee11b9d 100644
--- a/src/map/intif.c
+++ b/src/map/intif.c
@@ -1920,7 +1920,7 @@ int intif_parse_mercenary_received(int fd)
if( sizeof(struct s_mercenary) != len )
{
if( battle_config.etc_log )
- ShowError("intif: create mercenary data size error %d != %d\n", sizeof(struct s_homunculus), len);
+ ShowError("intif: create mercenary data size error %d != %d\n", sizeof(struct s_mercenary), len);
return 0;
}