]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Objects/PersonType.cpp
Moved knife catching test to a method and removed hardcoded rabbittype test
[lugaru.git] / Source / Objects / PersonType.cpp
index c1a3aec9a8cd52d7351b3a03dc4552ed4d5eef58..0cf880c12d9bf7d36bef4111726dd582af6ef4f5 100644 (file)
@@ -81,6 +81,7 @@ void PersonType::Load()
     types[wolftype].hasClaws = true;
     types[wolftype].clothes = false;
     types[wolftype].maxRunSpeed = 75;
+    types[wolftype].knifeCatchingType = 1;
 
     /* Rabbit */
     types[rabbittype].proportions[0] = 1.2;
@@ -137,4 +138,5 @@ void PersonType::Load()
     types[rabbittype].hasClaws = false;
     types[rabbittype].clothes = true;
     types[rabbittype].maxRunSpeed = 55;
+    types[rabbittype].knifeCatchingType = 0;
 }