Minor optimisations for explosions (again). Only removed some unnecessary lists, nothing major. Added some logging to world.log which gives explosion location/duration etc so we actually have something to compare it to whenever that damn code gets changed again :P

Added a shortcut to player notes into the investigate verb. Just type investigate notes

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4132 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
elly1989@rocketmail.com
2012-07-21 02:20:16 +00:00
parent 3a0928ad05
commit f6ded04899
4 changed files with 46 additions and 53 deletions
+5 -7
View File
@@ -30,17 +30,15 @@
else
return
/proc/get_turf(turf/location as turf)
while (location)
if (istype(location, /turf))
/proc/get_turf(turf/location)
while(location)
if(isturf(location))
return location
location = location.loc
return null
/proc/get_turf_or_move(turf/location as turf)
location = get_turf(location)
return location
/proc/get_turf_or_move(turf/location)
return get_turf(location)