2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-11 19:03:59 +00:00

CCompoundTargetingReticle: Remove mutable specifier on m_scanRetRenderer

This can be trivially resolved by dropping const qualifiers on the
necessary member functions.
This commit is contained in:
Lioncash
2020-04-09 21:28:50 -04:00
parent 35ca901784
commit b72d217a68
6 changed files with 13 additions and 12 deletions

View File

@@ -321,7 +321,7 @@ void CPlayerVisor::LockUnlockAssets() {
#endif
}
void CPlayerVisor::DrawScanEffect(const CStateManager& mgr, const CTargetingManager* tgtMgr) {
void CPlayerVisor::DrawScanEffect(const CStateManager& mgr, CTargetingManager* tgtMgr) {
SCOPED_GRAPHICS_DEBUG_GROUP("CPlayerVisor::DrawScanEffect", zeus::skMagenta);
const bool indicatorsDrawn = DrawScanObjectIndicators(mgr);
@@ -645,7 +645,7 @@ void CPlayerVisor::Update(float dt, const CStateManager& mgr) {
x58_scanMagInterp = std::max(x58_scanMagInterp - 2.f * dt, scanMag);
}
void CPlayerVisor::Draw(const CStateManager& mgr, const CTargetingManager* tgtManager) {
void CPlayerVisor::Draw(const CStateManager& mgr, CTargetingManager* tgtManager) {
CGraphics::SetAmbientColor(zeus::skWhite);
CGraphics::DisableAllLights();
switch (mgr.GetPlayerState()->GetActiveVisor(mgr)) {