mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Convert plUoid's object name to a plString
This commit is contained in:
@ -77,7 +77,7 @@ void pfMarkerInfo::Init()
|
||||
plLocation markerLoc = plKeyFinder::Instance().FindLocation("GlobalMarkers", "Markers");
|
||||
|
||||
if (markerLoc.IsValid())
|
||||
fMarkerUoid = plUoid(markerLoc, plSceneObject::Index(), "MarkerRoot");
|
||||
fMarkerUoid = plUoid(markerLoc, plSceneObject::Index(), _TEMP_CONVERT_FROM_LITERAL("MarkerRoot"));
|
||||
else
|
||||
fMarkerUoid.Invalidate();
|
||||
}
|
||||
@ -101,7 +101,7 @@ void pfMarkerInfo::Spawn(MarkerType type)
|
||||
plLocation markerLoc = plKeyFinder::Instance().FindLocation("GlobalMarkers", "Markers");
|
||||
|
||||
if (markerLoc.IsValid())
|
||||
fMarkerUoid = plUoid(markerLoc, plSceneObject::Index(), "MarkerRoot");
|
||||
fMarkerUoid = plUoid(markerLoc, plSceneObject::Index(), _TEMP_CONVERT_FROM_LITERAL("MarkerRoot"));
|
||||
else
|
||||
{
|
||||
hsAssert(false, "Unable to spawn markers because the marker age was not loaded or found");
|
||||
|
Reference in New Issue
Block a user