We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a8e6dc commit 721c18dCopy full SHA for 721c18d
soh/soh/Enhancements/randomizer/randomizer_item_tracker.cpp
@@ -1102,6 +1102,7 @@ void InitItemTracker() {
1102
});
1103
Ship::RegisterHook<Ship::LoadFile>([](uint32_t fileNum) {
1104
const char* initialTrackerNotes = CVarGetString(("gItemTrackerNotes" + std::to_string(fileNum)).c_str(), "");
1105
+ itemTrackerNotes.resize(strlen(initialTrackerNotes) + 1);
1106
strcpy(itemTrackerNotes.Data, initialTrackerNotes);
1107
1108
Ship::RegisterHook<Ship::DeleteFile>([](uint32_t fileNum) {
0 commit comments