mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 19:07:44 +00:00
Runtime: Add more usages of explicit
Prevents error-prone implicit conversions where applicable. This targets the regular RuntimeCommon target this time around.
This commit is contained in:
@@ -185,7 +185,7 @@ constexpr std::array<std::pair<CPlayerState::EItemType, ControlMapper::ECommands
|
||||
}};
|
||||
|
||||
CModelData MakePlayerAnimRes(CAssetId resId, const zeus::CVector3f& scale) {
|
||||
return {CAnimRes(resId, 0, scale, 0, true), 1};
|
||||
return CModelData{CAnimRes(resId, 0, scale, 0, true), 1};
|
||||
}
|
||||
|
||||
uint32_t GetOrbitScreenBoxHalfExtentXScaled(int zone) {
|
||||
|
||||
Reference in New Issue
Block a user