ty tempest! changing diff from char to int
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6496 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -84,7 +84,8 @@ mapstats *loadmapstats(const char *filename, bool getlayout)
|
||||
testlayout = new char[layoutsize + 256];
|
||||
memset(testlayout, 0, layoutsize * sizeof(char));
|
||||
char *t = NULL;
|
||||
char floor = 0, ceil, diff = 0;
|
||||
char floor = 0, ceil;
|
||||
int diff = 0;
|
||||
Mvolume = Marea = SHhits = 0;
|
||||
loopk(layoutsize)
|
||||
{
|
||||
|
||||
@@ -548,7 +548,7 @@ bool load_world(char *mname) // still supports all map formats that have
|
||||
DELETEA(mlayout);
|
||||
mlayout = new char[cubicsize + 256];
|
||||
memset(mlayout, 0, cubicsize * sizeof(char));
|
||||
char diff = 0;
|
||||
int diff = 0;
|
||||
Mv = Ma = Hhits = 0;
|
||||
|
||||
if(!mapinfo.numelems || (mapinfo.access(mname) && !cmpf(cgzname, mapinfo[mname]))) world = (sqr *)ents.getbuf();
|
||||
|
||||
Reference in New Issue
Block a user