2012-09-10 06:47:25 -05:00
|
|
|
#include "tpt_syscalls.h"
|
|
|
|
|
|
|
|
int update_TEST(int i, int x, int y, int nt, int ss)
|
|
|
|
{
|
2012-09-15 09:31:55 -05:00
|
|
|
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);
|
|
|
|
}
|
2012-09-10 06:47:25 -05:00
|
|
|
return 0;
|
|
|
|
}
|