From: Côme Chilliet Date: Sun, 5 Feb 2017 21:48:49 +0000 (+0100) Subject: Fixed Wolves damage tolerance which was broken by f38eb24f446b94d592d97b24b315bb44bed... X-Git-Url: https://git.jsancho.org/?p=lugaru.git;a=commitdiff_plain;h=845b8ad33ffc79190b6c89e22fa2a7e9913a1e16 Fixed Wolves damage tolerance which was broken by f38eb24f446b94d592d97b24b315bb44bed7b12c --- diff --git a/Source/Objects/Person.cpp b/Source/Objects/Person.cpp index f020f5e..abd35f9 100644 --- a/Source/Objects/Person.cpp +++ b/Source/Objects/Person.cpp @@ -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; }