Fixes runtime

This commit is contained in:
mwerezak
2015-02-16 23:00:00 -05:00
parent c804d818fd
commit 672709382d
+7 -5
View File
@@ -204,11 +204,13 @@
//the bullet passes through a dense object!
if(passthrough)
bumped = 0 //reset bumped variable!
if(istype(A, /turf))
loc = A
else
loc = A.loc
permutated.Add(A)
//move ourselves onto A so we don't Bump it again. If A was deleted then we don't need to worry.
if(A)
if(istype(A, /turf))
loc = A
else
loc = A.loc
permutated.Add(A)
return 0
//stop flying