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:
Rafael Barreto
2011-06-04 14:14:37 +00:00
parent d9083ad843
commit 32712318da
6 changed files with 6 additions and 13 deletions
+1 -1
View File
@@ -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;
}