motivate mappers to use mapmsg

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4154 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
ac_stef
2009-02-09 14:14:56 +00:00
parent 050772c523
commit 59acc7a5f6
+1 -1
View File
@@ -294,7 +294,7 @@ bool load_world(char *mname) // still supports all map formats that have
if(tmp.sfactor<SMALLEST_FACTOR || tmp.sfactor>LARGEST_FACTOR || tmp.numents > MAXENTITIES) { conoutf("\f3illegal map size"); gzclose(f); return false; }
if(tmp.version>=4 && gzread(f, &tmp.waterlevel, sizeof(int)*16)!=sizeof(int)*16) { conoutf("\f3while reading map: header malformatted"); gzclose(f); return false; }
hdr = tmp;
loadingscreen();
loadingscreen("%s", hdr.maptitle);
resetmap();
if(hdr.version>=4)
{