mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
earlyport fix for vendor throwing runtime spam
chenity sacks
This commit is contained in:
@@ -67,7 +67,7 @@ SUBSYSTEM_DEF(throwing)
|
|||||||
src.speed = speed
|
src.speed = speed
|
||||||
src.thrower = thrower
|
src.thrower = thrower
|
||||||
src.callback = callback
|
src.callback = callback
|
||||||
if(!QDELETED(thrower))
|
if(!QDELETED(thrower) && ismob(thrower))
|
||||||
src.target_zone = thrower.zone_sel ? thrower.zone_sel.selecting : null
|
src.target_zone = thrower.zone_sel ? thrower.zone_sel.selecting : null
|
||||||
|
|
||||||
dist_x = abs(target.x - thrownthing.x)
|
dist_x = abs(target.x - thrownthing.x)
|
||||||
@@ -204,4 +204,4 @@ SUBSYSTEM_DEF(throwing)
|
|||||||
|
|
||||||
if(hit_thing)
|
if(hit_thing)
|
||||||
finalize(hit=TRUE, t_target=hit_thing)
|
finalize(hit=TRUE, t_target=hit_thing)
|
||||||
return TRUE
|
return TRUE
|
||||||
|
|||||||
Reference in New Issue
Block a user