]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Objects/Person.cpp
Fixed Wolves damage tolerance which was broken by f38eb24f446b94d592d97b24b315bb44bed...
[lugaru.git] / Source / Objects / Person.cpp
index f020f5e67a9990f8423dbb6b05b71faea3d41944..abd35f9952349be276cd7f8e48ae2225a8e75937 100644 (file)
@@ -435,10 +435,13 @@ Person::Person(FILE* tfile, int mapvers, unsigned i)
 
     loaded = true;
 
+    if (creature == wolftype) {
+        damagetolerance = 300;
+    }
+
     if (scale < 0) {
         if (creature == wolftype) {
             scale = .23;
-            damagetolerance = 300;
         } else {
             scale = .2;
         }