mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-29 10:49:53 +02:00
Fix clone producing RSST(RSST).
This commit is contained in:
@@ -77,7 +77,8 @@ int update(UPDATE_FUNC_ARGS)
|
|||||||
// Set RSST ctype from nearby clone
|
// Set RSST ctype from nearby clone
|
||||||
if((TYP(r) == PT_CLNE) || (TYP(r) == PT_PCLN))
|
if((TYP(r) == PT_CLNE) || (TYP(r) == PT_PCLN))
|
||||||
{
|
{
|
||||||
parts[i].ctype = parts[ID(r)].ctype;
|
if(parts[ID(r)].ctype != PT_RSST)
|
||||||
|
parts[i].ctype = parts[ID(r)].ctype;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user