summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-05-26 12:16:53 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-05-26 12:16:53 +0000
commitba9d200a15f3f9ccdc9ba42b5555c6ac9374bf9b (patch)
treed4cc5fb3896996bb805e192efd5fb40ec41a4cfc /src/map
parent80ce7898584ef58f01470fc8969bddfca47a2629 (diff)
downloadhercules-ba9d200a15f3f9ccdc9ba42b5555c6ac9374bf9b.tar.gz
hercules-ba9d200a15f3f9ccdc9ba42b5555c6ac9374bf9b.tar.bz2
hercules-ba9d200a15f3f9ccdc9ba42b5555c6ac9374bf9b.tar.xz
hercules-ba9d200a15f3f9ccdc9ba42b5555c6ac9374bf9b.zip
Moved the options to disable specific compiler warnings from the generic 'AdditionalOptions' to the appropriate 'DisableSpecificWarnings' section.
Corrected an ancient mistake in the grfio/zlib code (calling inflateEnd in case of an error during the Deflate process). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12726 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/clif.c7
-rw-r--r--src/map/map.h2
2 files changed, 8 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 663ef51ea..71742011d 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -2273,6 +2273,13 @@ int clif_updatestatus(struct map_session_data *sd,int type)
}
WFIFOSET(fd,len);
+ if( type == SP_SPEED )
+ {
+ char buf[256];
+ sprintf(buf, "Your walk speed is now %d", sd->battle_status.speed);
+ clif_displaymessage(fd, buf);
+ }
+
return 0;
}
diff --git a/src/map/map.h b/src/map/map.h
index 954e211b9..03e96d831 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -151,7 +151,7 @@ enum {
#define CHATROOM_TITLE_SIZE (36 + 1)
#define CHATROOM_PASS_SIZE (8 + 1)
//Max allowed chat text length
-#define CHAT_SIZE_MAX 256
+#define CHAT_SIZE_MAX (255 + 1)
#define DEFAULT_AUTOSAVE_INTERVAL 5*60*1000