TPT Whoops, eval_move returning 1 should not allow particle creation edcf6d7b2f
This commit is contained in:
parent
25ce83d5bf
commit
027833fe20
@ -1845,7 +1845,7 @@ int Simulation::create_part(int p, int x, int y, int tv)//the function for creat
|
||||
return -1;
|
||||
if (p==-1)//creating from anything but brush
|
||||
{
|
||||
if (pmap[y][x] || (bmap[y/CELL][x/CELL] && !eval_move(t, x, y, NULL)))
|
||||
if (pmap[y][x] || (bmap[y/CELL][x/CELL] && eval_move(t, x, y, NULL)!=2))
|
||||
{
|
||||
if ((pmap[y][x]&0xFF)!=PT_SPAWN&&(pmap[y][x]&0xFF)!=PT_SPAWN2)
|
||||
{
|
||||
|
Reference in New Issue
Block a user