diff options
Diffstat (limited to 'src/map.cpp')
-rw-r--r-- | src/map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.cpp b/src/map.cpp index 24b3e84b..b1bd634b 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -802,7 +802,7 @@ void Map::initializeParticleEffects(Particle *particleEngine) ) { p = particleEngine->addEffect(i->file, i->x, i->y); - if (i->w > 0 && i->h > 0) + if (p && i->w > 0 && i->h > 0) { p->adjustEmitterSize(i->w, i->h); } |