summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-02-24 19:39:05 +0100
committerHaru <haru@dotalux.com>2016-02-24 19:39:05 +0100
commit9ee06831aec11a8ffea77f3b5c81465579f993e9 (patch)
treec53bba009ada162691f9621baaf5e4180f4226c7
parent50025315af490b229eccf96373fac04e77b6f2a8 (diff)
downloadhercules-9ee06831aec11a8ffea77f3b5c81465579f993e9.tar.gz
hercules-9ee06831aec11a8ffea77f3b5c81465579f993e9.tar.bz2
hercules-9ee06831aec11a8ffea77f3b5c81465579f993e9.tar.xz
hercules-9ee06831aec11a8ffea77f3b5c81465579f993e9.zip
Fixed two minor typos in NPC-related error/warning messages
Signed-off-by: Haru <haru@dotalux.com>
-rw-r--r--src/map/npc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index 837bc6871..9bd6698d2 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -2566,7 +2566,7 @@ int npc_parseview(const char* w4, const char* start, const char* buffer, const c
{
// Check if constant exists and get its value.
if(!script->get_constant(viewid, &val)) {
- ShowWarning("npc_parseview: Invalid NPC constant '%s' specified in file '%s', line'%d'. Defaulting to INVISIBLE_CLASS. \n", viewid, filepath, strline(buffer,start-buffer));
+ ShowWarning("npc_parseview: Invalid NPC constant '%s' specified in file '%s', line '%d'. Defaulting to INVISIBLE_CLASS.\n", viewid, filepath, strline(buffer,start-buffer));
val = INVISIBLE_CLASS;
}
} else {
@@ -2762,7 +2762,7 @@ const char *npc_parse_shop(const char *w1, const char *w2, const char *w3, const
}
if (dir < 0 || dir > 7) {
- ShowError("npc_parse_ship: Invalid NPC facing direction '%d' in file '%s', line '%d'.\n", dir, filepath, strline(buffer, start-buffer));
+ ShowError("npc_parse_shop: Invalid NPC facing direction '%d' in file '%s', line '%d'.\n", dir, filepath, strline(buffer, start-buffer));
if (retval) *retval = EXIT_FAILURE;
return strchr(start,'\n');//continue
}