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
2 changed files with 2 additions and 2 deletions

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] = {