mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-13 14:05:52 +00:00
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) {
|
bool CParticleElectric::Update(double dt) {
|
||||||
CGlobalRandom gr(x14c_randState);
|
[[maybe_unused]] CGlobalRandom gr(x14c_randState);
|
||||||
bool ret = false;
|
bool ret = false;
|
||||||
|
|
||||||
if (x450_25_haveGPSM) {
|
if (x450_25_haveGPSM) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user