]> 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 521a02cf2bf956fc8f8e50713e2a71a87af69ad9..0cf880c12d9bf7d36bef4111726dd582af6ef4f5 100644 (file)
@@ -80,6 +80,8 @@ void PersonType::Load()
     types[wolftype].defaultScale = .23;
     types[wolftype].hasClaws = true;
     types[wolftype].clothes = false;
+    types[wolftype].maxRunSpeed = 75;
+    types[wolftype].knifeCatchingType = 1;
 
     /* Rabbit */
     types[rabbittype].proportions[0] = 1.2;
@@ -135,4 +137,6 @@ void PersonType::Load()
     types[rabbittype].defaultScale = .2;
     types[rabbittype].hasClaws = false;
     types[rabbittype].clothes = true;
+    types[rabbittype].maxRunSpeed = 55;
+    types[rabbittype].knifeCatchingType = 0;
 }