mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-29 10:49:53 +02:00
Hooked more functions to VM.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user