Added update property method

This commit is contained in:
andreja6
2018-10-23 06:52:06 -07:00
parent ee528d1245
commit 99f78be344
2 changed files with 6 additions and 3 deletions

View File

@@ -25,9 +25,12 @@ void Instance::render(RenderDevice* rd)
}
}
void Instance::PropUpdate(DWORD addr, PROPGRIDITEM pItem)
void Instance::PropUpdate(DWORD &addr, PROPGRIDITEM &pItem)
{
if((DWORD)&name == addr)
{
name = pItem.lpCurValue;
}
}
std::vector<Property> Instance::getProperties()