Add FILT tmp2 modes
This commit is contained in:
parent
b7a6663e08
commit
07f0e868a3
@ -107,7 +107,10 @@ static int update(UPDATE_FUNC_ARGS)
|
||||
ny = y+ry;
|
||||
while (TYP(r)==PT_FILT)
|
||||
{
|
||||
parts[ID(r)].ctype = photonWl;
|
||||
if (parts[ID(r)].tmp2 == 0)
|
||||
parts[ID(r)].ctype = photonWl;
|
||||
else if (parts[ID(r)].tmp2 != 1)
|
||||
break;
|
||||
nx += rx;
|
||||
ny += ry;
|
||||
if (nx<0 || ny<0 || nx>=XRES || ny>=YRES)
|
||||
|
@ -154,7 +154,10 @@ static int update(UPDATE_FUNC_ARGS)
|
||||
parts[ID(rr)].ctype;
|
||||
while (TYP(r) == PT_FILT)
|
||||
{
|
||||
parts[ID(r)].ctype = photonWl;
|
||||
if (parts[ID(r)].tmp2 == 0)
|
||||
parts[ID(r)].ctype = photonWl;
|
||||
else if (parts[ID(r)].tmp2 != 1)
|
||||
break;
|
||||
nx += rx;
|
||||
ny += ry;
|
||||
if (nx < 0 || ny < 0 || nx >= XRES || ny >= YRES)
|
||||
|
Reference in New Issue
Block a user