Skip to content

Commit

Permalink
Fixed incorrect relocation IDs for papyrus logger.
Browse files Browse the repository at this point in the history
This caused crash, obviously.
  • Loading branch information
adya committed Jan 28, 2025
1 parent 8e2d438 commit b64ab26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SPID/src/OutfitManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ namespace Outfits
{
if (!outfit) {
using PapyrusLog = void(RE::TESObjectREFR*, const char*, RE::BSScript::Internal::VirtualMachine*, RE::VMStackID, RE::BSScript::ErrorLogger::Severity);
REL::Relocation<PapyrusLog> writeLog{ RELOCATION_ID(0x53024, 0x53824) };
REL::Relocation<PapyrusLog> writeLog{ RELOCATION_ID(53024, 53824) };
writeLog(actor, "Cannot set sleep or default outfit to None", vm, stackID, RE::BSScript::ErrorLogger::Severity::kError);
return;
}
Expand Down

0 comments on commit b64ab26

Please sign in to comment.