Your stun code broke simple animals poly, so I commented it out.

This should stop simple animals (including shades/constructs) from being immortal 

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3407 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
kortgstation@gmail.com
2012-04-06 21:08:34 +00:00
parent 219565eac6
commit 689afa5169
+2 -2
View File
@@ -79,7 +79,7 @@
if(health > maxHealth)
health = maxHealth
/*
// Stun/Weaken
if (paralysis || stunned || weakened) //Stunned etc.
@@ -110,7 +110,7 @@
canmove = 0
else
canmove = 1
*/
//Movement
if(!ckey && !stop_automated_movement)
if(isturf(src.loc) && !resting && !buckled && canmove) //This is so it only moves if it's not inside a closet, gentics machine, etc.