doing it better... (still testing the exploit, tbh)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6494 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -126,7 +126,7 @@ mapstats *loadmapstats(const char *filename, bool getlayout)
|
||||
}
|
||||
if ( type != SOLID && diff > 6 )
|
||||
{
|
||||
if (diff > MAXMHEIGHT) SHhits += diff * n;
|
||||
if (diff > MAXMHEIGHT) SHhits += pow2(diff-MAXMHEIGHT)*n;
|
||||
Marea += n;
|
||||
Mvolume += diff * n;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user