Parts now recolor properly again.

This commit is contained in:
MusicalProgrammer
2018-10-25 20:51:15 -04:00
parent 866d644c63
commit b1af53995a
2 changed files with 2 additions and 0 deletions

View File

@@ -443,6 +443,7 @@ void PartInstance::PropUpdate(LPPROPGRIDITEM &item)
if(strcmp(item->lpszPropName, "Color3") == 0)
{
color = Color3(GetRValue(item->lpCurValue)/255.0F,GetGValue(item->lpCurValue)/255.0F,GetBValue(item->lpCurValue)/255.0F);
changed=true;
}
else if(strcmp(item->lpszPropName, "Offset") == 0)
{