mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-30 11:19:51 +02:00
SPRK from SWCH should check both cases.
This commit is contained in:
@@ -254,7 +254,7 @@ int Element_SPRK::update(UPDATE_FUNC_ARGS)
|
|||||||
case PT_SWCH:
|
case PT_SWCH:
|
||||||
if (receiver==PT_PSCN||receiver==PT_NSCN||receiver==PT_WATR||receiver==PT_SLTW||receiver==PT_NTCT||receiver==PT_PTCT||receiver==PT_INWR)
|
if (receiver==PT_PSCN||receiver==PT_NSCN||receiver==PT_WATR||receiver==PT_SLTW||receiver==PT_NTCT||receiver==PT_PTCT||receiver==PT_INWR)
|
||||||
continue;
|
continue;
|
||||||
goto conduct;
|
break;
|
||||||
case PT_ETRD:
|
case PT_ETRD:
|
||||||
if (receiver==PT_METL||receiver==PT_BMTL||receiver==PT_BRMT||receiver==PT_LRBD||receiver==PT_RBDM||receiver==PT_PSCN||receiver==PT_NSCN)
|
if (receiver==PT_METL||receiver==PT_BMTL||receiver==PT_BRMT||receiver==PT_LRBD||receiver==PT_RBDM||receiver==PT_PSCN||receiver==PT_NSCN)
|
||||||
goto conduct;
|
goto conduct;
|
||||||
|
Reference in New Issue
Block a user