diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-06-26 15:49:53 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-06-26 15:49:53 +0200 |
commit | eaf36766f60662a0aa7829ae3d96f47fd91b408d (patch) | |
tree | 3075c09f947dfbaff163c405c74f518a8064ea89 /src/Mobs/Blaze.cpp | |
parent | derp (diff) | |
parent | Merge pull request #1126 from mc-server/BlockInfoInit (diff) | |
download | cuberite-eaf36766f60662a0aa7829ae3d96f47fd91b408d.tar cuberite-eaf36766f60662a0aa7829ae3d96f47fd91b408d.tar.gz cuberite-eaf36766f60662a0aa7829ae3d96f47fd91b408d.tar.bz2 cuberite-eaf36766f60662a0aa7829ae3d96f47fd91b408d.tar.lz cuberite-eaf36766f60662a0aa7829ae3d96f47fd91b408d.tar.xz cuberite-eaf36766f60662a0aa7829ae3d96f47fd91b408d.tar.zst cuberite-eaf36766f60662a0aa7829ae3d96f47fd91b408d.zip |
Diffstat (limited to 'src/Mobs/Blaze.cpp')
-rw-r--r-- | src/Mobs/Blaze.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Mobs/Blaze.cpp b/src/Mobs/Blaze.cpp index 19bdf8737..b4104d530 100644 --- a/src/Mobs/Blaze.cpp +++ b/src/Mobs/Blaze.cpp @@ -47,6 +47,7 @@ void cBlaze::Attack(float a_Dt) if (!FireCharge->Initialize(*m_World)) { delete FireCharge; + FireCharge = NULL; return; } m_World->BroadcastSpawnEntity(*FireCharge); |