-Ghosts can eavesdrop on people with headsets again.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5137 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
giacomand@gmail.com
2012-11-20 17:56:42 +00:00
parent 9250be52a7
commit 16c78488bc

View File

@@ -197,6 +197,10 @@
if(R.canhear_range == 0) if(R.canhear_range == 0)
if(ismob(R.loc)) if(ismob(R.loc))
. |= R.loc . |= R.loc
// Ghost being able to hear radio.
var/turf/T = get_turf(R.loc)
for(var/mob/dead/observer/O in T)
. |= O
continue continue
var/turf/speaker = get_turf(R) var/turf/speaker = get_turf(R)