mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-29 19:00:33 +02:00
fix CRAY(SPRK) difference
This commit is contained in:
@@ -98,9 +98,9 @@ int Element_CRAY::update(UPDATE_FUNC_ARGS)
|
|||||||
if (nr!=-1) {
|
if (nr!=-1) {
|
||||||
parts[nr].dcolour = colored;
|
parts[nr].dcolour = colored;
|
||||||
parts[nr].temp = parts[i].temp;
|
parts[nr].temp = parts[i].temp;
|
||||||
|
if(!--partsRemaining)
|
||||||
|
docontinue = 0;
|
||||||
}
|
}
|
||||||
if(!--partsRemaining)
|
|
||||||
docontinue = 0;
|
|
||||||
} else if ((r&0xFF)==PT_FILT) { // get color if passed through FILT
|
} else if ((r&0xFF)==PT_FILT) { // get color if passed through FILT
|
||||||
colored = wavelengthToDecoColour(parts[r>>8].ctype);
|
colored = wavelengthToDecoColour(parts[r>>8].ctype);
|
||||||
} else if ((r&0xFF) == PT_CRAY || nostop) {
|
} else if ((r&0xFF) == PT_CRAY || nostop) {
|
||||||
|
Reference in New Issue
Block a user