mirror of https://github.com/AxioDL/metaforce.git
CParticleElectric: Mark CGlobalRandom instance as maybe unused
This has a stateful destructor, so we mark it as unused to silence unused variable warnings.
This commit is contained in:
parent
8aef2cf95d
commit
4cbf8ef513
|
@ -513,7 +513,7 @@ void CParticleElectric::BuildBounds() {
|
|||
}
|
||||
|
||||
bool CParticleElectric::Update(double dt) {
|
||||
CGlobalRandom gr(x14c_randState);
|
||||
[[maybe_unused]] CGlobalRandom gr(x14c_randState);
|
||||
bool ret = false;
|
||||
|
||||
if (x450_25_haveGPSM) {
|
||||
|
|
Loading…
Reference in New Issue