fixing the coop vote/map check issues, adding some anticheat compatibility
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5500 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -134,6 +134,8 @@ mapstats *loadmapstats(const char *filename, bool getlayout)
|
||||
if (testlayout)
|
||||
{
|
||||
maplayout_factor = testlayout_factor;
|
||||
extern int maplayoutssize;
|
||||
maplayoutssize = 1 << testlayout_factor;
|
||||
int layoutsize = 1 << (testlayout_factor * 2);
|
||||
maplayout = new char[layoutsize + 256];
|
||||
memcpy(maplayout, testlayout, layoutsize * sizeof(char));
|
||||
|
||||
Reference in New Issue
Block a user