--- deliantra/server/include/face.h 2009/11/11 23:27:57 1.30 +++ deliantra/server/include/face.h 2009/11/15 18:03:59 1.31 @@ -26,7 +26,7 @@ #include #include -#define CHKSUM_SIZE 6 +#define CHKSUM_MAXLEN 15 #define MAX_FACES 10000 // stupid gcfclient artificially limits typedef uint16 faceidx; @@ -36,7 +36,8 @@ struct facedata { std::string data; - uint8 chksum[CHKSUM_SIZE]; + uint8 chksum[CHKSUM_MAXLEN]; + uint8 chksum_len; }; /* New face structure - this enforces the notion that data is face by