Bump lus and fixed PatchGfx (#4125)

* Bump lus and fixed PatchGfx

* Bump libultraship to main
This commit is contained in:
Lywx 2024-05-06 17:19:15 -06:00 committed by GitHub
parent 438dede792
commit f3b948226b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 7d71a290657a2d3b09a83e8b33025e807f4fb38e
Subproject commit a5d84b29429dcd9b32fb1d8b169b6dd269e6c979

View File

@ -1791,7 +1791,7 @@ extern "C" void ResourceMgr_PatchGfxCopyCommandByName(const char* path, const ch
}
Gfx* destinationGfx = (Gfx*)&res->Instructions[destinationIndex];
Gfx sourceGfx = res->Instructions[sourceIndex];
Gfx sourceGfx = *(Gfx*)&res->Instructions[sourceIndex];
if (!originalGfx.contains(path) || !originalGfx[path].contains(patchName)) {
originalGfx[path][patchName] = {