Merge pull request #2093 from Giacom/small_fixes_and_tweaks

Small Tweaks and Fixes
This commit is contained in:
Aranclanos
2013-12-21 15:12:01 -08:00
4 changed files with 37 additions and 80 deletions
+7 -4
View File
@@ -271,10 +271,13 @@ It's fairly easy to fix if dealing with single letters but not so much with comp
var/x
M.shakecamera = 1
for(x=0; x<duration, x++)
M.client.eye = locate(dd_range(1,M.loc.x+rand(-strength,strength),world.maxx),dd_range(1,M.loc.y+rand(-strength,strength),world.maxy),M.loc.z)
sleep(1)
M.shakecamera = 0
M.client.eye=oldeye
if(M && M.client)
M.client.eye = locate(dd_range(1,M.loc.x+rand(-strength,strength),world.maxx),dd_range(1,M.loc.y+rand(-strength,strength),world.maxy),M.loc.z)
sleep(1)
if(M)
M.shakecamera = 0
if(M.client)
M.client.eye=oldeye
/proc/findname(msg)