move validmapname

add map name checks to servermap::load()
This commit is contained in:
ac-stef
2017-06-27 15:15:22 +02:00
parent 7dc72aebb1
commit 110a209d4e
5 changed files with 69 additions and 57 deletions
+1
View File
@@ -9,6 +9,7 @@
#define DEMO_VERSION 2 // bump when demo format changes
#define DEMO_MAGIC "ASSAULTCUBE_DEMO"
#define DEMO_MINTIME 10000 // don't keep demo recordings with less than 10 seconds
#define MAXMAPNAMELEN 31
#define MAXMAPSENDSIZE 65536
#define MAXCFGFILESIZE 65536
#define MAXGZMSGSIZE 65536