Uses more QDEL_NULLs

This commit is contained in:
Sam
2017-06-15 00:49:00 +01:00
parent 5131f91725
commit d0dde4f3d7
34 changed files with 65 additions and 118 deletions
+1 -2
View File
@@ -43,8 +43,7 @@
if(targloc == curloc)
if(target) //if the target is right on our location we go straight to bullet_act()
target.bullet_act(BB, BB.def_zone)
qdel(BB)
BB = null
QDEL_NULL(BB)
return 1
BB.preparePixelProjectile(target, targloc, user, params, spread)