Fixes not getting the hit message and sound (and logging) when the item embeds itself in a human.

Throwing a big item at an alien no longer pushes it.
If the item embeds itself in you, it doesn't push you.
Fixes an old argument in item/throw_impact() that I forgot to remove.
Rename the skip argument of hitby() to skipcatch (more explicit).
This commit is contained in:
phil235
2015-08-09 20:30:47 +02:00
parent 23a3ef7994
commit e922f510c5
7 changed files with 16 additions and 13 deletions
+1 -1
View File
@@ -476,7 +476,7 @@ var/global/image/fire_overlay = image("icon" = 'icons/effects/fire.dmi', "icon_s
var/itempush = 1
if(w_class < 4)
itempush = 0 //too light to push anything
return A.hitby(src,thrownby, 0, itempush)
return A.hitby(src, 0, itempush)
/obj/item/throw_at(atom/target, range, speed, mob/thrower, spin=1)
thrownby = thrower