diff --git a/src/common/grfio.c b/src/common/grfio.c
index ed2b84e3ff..fe94e0803c 100644
--- a/src/common/grfio.c
+++ b/src/common/grfio.c
@@ -270,7 +270,7 @@ int encode_zip(unsigned char* dest, unsigned long* destLen, const unsigned char*
err = deflate(&stream, Z_FINISH);
if (err != Z_STREAM_END) {
- inflateEnd(&stream);
+ deflateEnd(&stream);
return err == Z_OK ? Z_BUF_ERROR : err;
}
*destLen = stream.total_out;
diff --git a/src/map/clif.c b/src/map/clif.c
index 663ef51ea5..71742011d4 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 954e211b99..03e96d831b 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
diff --git a/vcproj-9/char-server_sql.vcproj b/vcproj-9/char-server_sql.vcproj
index 6b97f59e7c..2e42ab8b56 100644
--- a/vcproj-9/char-server_sql.vcproj
+++ b/vcproj-9/char-server_sql.vcproj
@@ -41,7 +41,6 @@
/>
+
+
+
+
@@ -433,14 +441,6 @@
RelativePath="..\src\map\vending.h"
>
-
-
-
-