mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-13 18:17:49 -04:00
Replace pnProduct with a (very) thin CoreLib plProduct wrapper around CMake-defined product ID values
This commit is contained in:
@ -135,7 +135,6 @@ void pyAgeInfoStruct::SetAgeInstanceGuid( const char * guid )
|
||||
std::string curInst = fAgeInfo.GetAgeInstanceName();
|
||||
std::string y = curInst + guid;
|
||||
|
||||
plUUID instanceGuid;
|
||||
plMD5Checksum hash;
|
||||
hash.Start();
|
||||
hash.AddTo(y.length(), (uint8_t*)y.c_str());
|
||||
@ -150,7 +149,7 @@ void pyAgeInfoStruct::SetAgeInstanceGuid( const char * guid )
|
||||
if (i == 3 || i == 5 || i == 7 || i == 9)
|
||||
ss << '-';
|
||||
}
|
||||
instanceGuid.FromString(ss.GetString());
|
||||
plUUID instanceGuid(ss.GetString());
|
||||
fAgeInfo.SetAgeInstanceGuid(&instanceGuid);
|
||||
}
|
||||
else {
|
||||
|
Reference in New Issue
Block a user