Skip to content

Commit

Permalink
fix(*): compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
lmichaelis committed Jan 30, 2024
1 parent f7c657a commit dbe9c7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/DaedalusVm.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ struct ZkInternal_DaedalusVm {
zenkit::DaedalusVm handle;
std::unordered_map<uint32_t, std::function<void(ZkDaedalusVm*)>> externals;
std::function<void(ZkDaedalusVm*, ZkDaedalusSymbol*)> externalDefault;
std::string string_scope_workaround_cache;
std::string string_scope_workaround_cache {};
};

ZkDaedalusVm* ZkDaedalusVm_load(ZkRead* buf) {
Expand Down
6 changes: 3 additions & 3 deletions src/SaveGame.cc
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ void ZkSaveState_getMission(ZkSaveState* slf, ZkSize i, char const** name, int*

*name = slf->missions[i].name.c_str();
*id = slf->missions[i].id;
*av = slf->missions[i].av;
*av = slf->missions[i].available;
*statusIndex = slf->missions[i].status_index;
}

Expand All @@ -284,7 +284,7 @@ void ZkSaveState_setMission(ZkSaveState* slf, ZkSize i, char const* name, int id

slf->missions[i].name = name;
slf->missions[i].id = id;
slf->missions[i].av = av;
slf->missions[i].available = av;
slf->missions[i].status_index = statusIndex;
}

Expand All @@ -295,7 +295,7 @@ void ZkSaveState_addMission(ZkSaveState* slf, char const* name, int id, ZkBool a
auto& m = slf->missions.emplace_back();
m.name = name;
m.id = id;
m.av = av;
m.available = av;
m.status_index = statusIndex;
}

Expand Down

0 comments on commit dbe9c7f

Please sign in to comment.