2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 09:07:42 +00:00

General: Resolve -Wcast-qual warnings

We can just avoid casting away const in order to resolve these warnings.
This commit is contained in:
Lioncash
2020-08-23 15:52:14 -04:00
parent cadf85bc58
commit a32e21df14
3 changed files with 5 additions and 7 deletions

View File

@@ -4,6 +4,6 @@
namespace urde {
void CDefaultWeaponRenderer::AddParticleGen(const CParticleGen& gen) { ((CParticleGen&)gen).Render(); }
void CDefaultWeaponRenderer::AddParticleGen(CParticleGen& gen) { gen.Render(); }
} // namespace urde