comparison stru6.h @ 2370:bbf8a522dcec

removing non-nullptr conditions before deletes
author Grumpy7
date Mon, 12 May 2014 01:55:23 +0200
parents 0a1438c16c2b
children d922225a6081
comparison
equal deleted inserted replaced
2369:bddcaf5d5db2 2370:bbf8a522dcec
110 pStru1->Initialize(0xFF3C1Eu); 110 pStru1->Initialize(0xFF3C1Eu);
111 } 111 }
112 //----- (004A71DC) -------------------------------------------------------- 112 //----- (004A71DC) --------------------------------------------------------
113 ~stru6() 113 ~stru6()
114 { 114 {
115 if (pStru1) 115 delete pStru1;
116 delete pStru1;
117 pStru1 = nullptr; 116 pStru1 = nullptr;
118 } 117 }
119 118
120 void DoAddProjectile(float srcX, float srcY, float srcZ, float dstX, float dstY, float dstZ, unsigned int uTextureID); 119 void DoAddProjectile(float srcX, float srcY, float srcZ, float dstX, float dstY, float dstZ, unsigned int uTextureID);
121 void DrawProjectiles(); 120 void DrawProjectiles();