Replaces get_turf_loc() with get_turf()

The former does exactly the same thing as get_turf(), except it runtimes
if one of the atoms has a null loc.
This commit is contained in:
mwerezak
2014-06-10 13:43:11 -04:00
parent e3ab64728d
commit a8816823a5
12 changed files with 51 additions and 58 deletions

View File

@@ -22,7 +22,7 @@
log_admin("[key_name(src)] played a local sound [S]")
message_admins("[key_name_admin(src)] played a local sound [S]", 1)
playsound(get_turf_loc(src.mob), S, 50, 0, 0)
playsound(get_turf(src.mob), S, 50, 0, 0)
feedback_add_details("admin_verb","PLS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!