Hooked more functions to VM.

This commit is contained in:
Savely Skresanov
2012-09-15 21:31:55 +07:00
parent b626864293
commit ec0dfa27e8
5 changed files with 25 additions and 5 deletions

View File

@@ -2,6 +2,14 @@
int update_TEST(int i, int x, int y, int nt, int ss)
{
partCreate(-1, x, y-1, 2);
int k, j, index;
for(k=-1; k<2; k++)
for(j=-1; j<2; j++)
{
index = pmapData(x+k, y+j);
if ((index&0xFF) == 2)
killPart(index>>8);
}
return 0;
}