summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-05-02 20:23:30 +0000
committerbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-05-02 20:23:30 +0000
commit055a8778bc0b8cd87709af7517c5955bcc8f898c (patch)
tree32d143836edcbd986560c681f7762156dc22dbd8 /src/common
parent355f81a410eeb48e29d21574896f2fac02fc8a95 (diff)
downloadhercules-055a8778bc0b8cd87709af7517c5955bcc8f898c.tar.gz
hercules-055a8778bc0b8cd87709af7517c5955bcc8f898c.tar.bz2
hercules-055a8778bc0b8cd87709af7517c5955bcc8f898c.tar.xz
hercules-055a8778bc0b8cd87709af7517c5955bcc8f898c.zip
- Fixed some typos in the script command documentation. (bugreport:2547)
- Fixed a misleading message in the custom Job Changer. (bugreport:682) - Updated some NPC's facing directions. (bugreport:3030) - Added missing newline in some ShowWarning(). (bugreport:2940) - Fixed SC_BOSSMAPINFO time being off by 1 minutes (bugreport:3035) Now, the seconds are rounded up to the next whole minute. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13713 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common')
-rw-r--r--src/common/ers.c4
-rw-r--r--src/common/mapindex.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/common/ers.c b/src/common/ers.c
index 06bad92a4..db7cb149d 100644
--- a/src/common/ers.c
+++ b/src/common/ers.c
@@ -311,14 +311,14 @@ static void ers_obj_destroy(ERS self)
}
}
if (count) { // missing entries
- ShowWarning("ers::destroy : %u entries missing (possible double free), continuing destruction (entry size=%u).",
+ ShowWarning("ers::destroy : %u entries missing (possible double free), continuing destruction (entry size=%u).\n",
count, obj->size);
} else if (reuse) { // extra entries
while (reuse && count != UINT32_MAX) {
count++;
reuse = reuse->next;
}
- ShowWarning("ers::destroy : %u extra entries found, continuing destruction (entry size=%u).",
+ ShowWarning("ers::destroy : %u extra entries found, continuing destruction (entry size=%u).\n",
count, obj->size);
}
// destroy the entry manager
diff --git a/src/common/mapindex.c b/src/common/mapindex.c
index 4aef69574..72db1af6d 100644
--- a/src/common/mapindex.c
+++ b/src/common/mapindex.c
@@ -30,7 +30,7 @@ const char* mapindex_getmapname(const char* string, char* output)
size_t len = strnlen(string, MAP_NAME_LENGTH_EXT);
if (len == MAP_NAME_LENGTH_EXT) {
- ShowWarning("(mapindex_normalize_name) Map name '%*s' is too long!", 2*MAP_NAME_LENGTH_EXT, string);
+ ShowWarning("(mapindex_normalize_name) Map name '%*s' is too long!\n", 2*MAP_NAME_LENGTH_EXT, string);
len--;
}
if (len >= 4 && stricmp(&string[len-4], ".gat") == 0)
@@ -52,7 +52,7 @@ const char* mapindex_getmapname_ext(const char* string, char* output)
size_t len = safestrnlen(string, MAP_NAME_LENGTH);
if (len == MAP_NAME_LENGTH) {
- ShowWarning("(mapindex_normalize_name) Map name '%*s' is too long!", 2*MAP_NAME_LENGTH, string);
+ ShowWarning("(mapindex_normalize_name) Map name '%*s' is too long!\n", 2*MAP_NAME_LENGTH, string);
len--;
}