Speech from atoms inside containers will now be properly made bold to… (#15903)

* Speech from atoms inside containers will now be properly made bold to observers in vision range

* Bold works with zoom

* okay
This commit is contained in:
DamianX
2017-09-05 19:28:59 +02:00
committed by Exxion
parent 60126b7d24
commit 43476042e1

View File

@@ -33,9 +33,8 @@
say_testing(src, "/mob/dead/observer/Hear(): source=[source], frequency=[speech.frequency], source_turf=[formatJumpTo(source_turf)]")
if (get_dist(source_turf, src) <= world.view) // If this isn't true, we can't be in view, so no need for costlier proc.
if (source_turf in view(src))
rendered_speech = "<B>[rendered_speech]</B>"
if (get_dist(source_turf, src) <= get_view_range())
rendered_speech = "<B>[rendered_speech]</B>"
else
if(client && client.prefs)
if (!speech.frequency)