mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 15:47:46 +00:00
Runtime: Use nullptr where applicable
Same behavior, but no magic 0 value. While we're in the same area, we can do minor cosmetic changes.
This commit is contained in:
@@ -5,8 +5,9 @@
|
||||
namespace urde {
|
||||
|
||||
void CFlameWarp::ModifyParticles(std::vector<CParticle>& particles) {
|
||||
if (x9c_stateMgr == 0 || particles.size() < 9)
|
||||
if (x9c_stateMgr == nullptr || particles.size() < 9) {
|
||||
return;
|
||||
}
|
||||
|
||||
std::vector<std::pair<float, u8>> vec;
|
||||
vec.reserve(particles.size());
|
||||
|
||||
Reference in New Issue
Block a user