blocking bad maps in client side, and beginning the work with the medal system

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5031 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Rafael Barreto
2010-05-24 17:24:33 +00:00
parent 02da74afdf
commit bc01595024
9 changed files with 129 additions and 26 deletions
+1 -3
View File
@@ -27,7 +27,6 @@ const char *numtime()
extern char *maplayout;
extern int maplayout_factor, Mvolume, Marea;
extern float Mheight;
extern int checkarea();
mapstats *loadmapstats(const char *filename, bool getlayout)
{
@@ -82,8 +81,7 @@ mapstats *loadmapstats(const char *filename, bool getlayout)
maplayout = new char[layoutsize + 256];
memset(maplayout, 0, layoutsize * sizeof(char));
char *t = NULL;
char floor = 0, ceil;
int diff = 0;
char floor = 0, ceil, diff = 0;
Mvolume = Marea = 0;
loopk(layoutsize)
{