Skip to content

Commit 5b698dc

Browse files
committed
More deprecation fixes
1 parent 6fd2ea6 commit 5b698dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Brio/Game/Actor/ActorRedrawService.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ public unsafe RedrawResult Redraw(GameObject gameObject, RedrawType redrawType)
6161
if(human->Race != chara->DrawData.CustomizeData[0]
6262
|| human->Sex != chara->DrawData.CustomizeData[1]
6363
|| human->BodyType != chara->DrawData.CustomizeData[2]
64-
|| human->Clan != chara->CustomizeData[4]
65-
|| human->FaceId != chara->CustomizeData[5]
64+
|| human->Clan != chara->DrawData.CustomizeData[4]
65+
|| human->FaceId != chara->DrawData.CustomizeData[5]
6666
|| chara->ModelCharaId != 0)
6767
{
6868
drewInPlace = false;
@@ -71,7 +71,7 @@ public unsafe RedrawResult Redraw(GameObject gameObject, RedrawType redrawType)
7171
if(drewInPlace)
7272
{
7373
// Cutomize and gear
74-
Buffer.MemoryCopy(chara->CustomizeData, (void*)_customizeBuffer, 28, 28);
74+
Buffer.MemoryCopy(&chara->DrawData.CustomizeData, (void*)_customizeBuffer, 28, 28);
7575
Buffer.MemoryCopy(&chara->DrawData.Head, (void*)(_customizeBuffer + 28), 40, 40);
7676
drewInPlace = ((Human*)rawObject->DrawObject)->UpdateDrawData((byte*)_customizeBuffer, false);
7777
}

0 commit comments

Comments
 (0)