]> git.jsancho.org Git - lugaru.git/commitdiff
Forgont one instance of Wolfbonus
authorAlexander Monakov <amonakov@gmail.com>
Sun, 26 Dec 2010 23:25:31 +0000 (02:25 +0300)
committerAlexander Monakov <amonakov@gmail.com>
Sun, 26 Dec 2010 23:25:31 +0000 (02:25 +0300)
Source/Person.cpp

index 4d7f9df870a4936806ed5a75783e60ccebd2d2d6..b73812151f35c760199201e59160c9de159e5873 100644 (file)
@@ -5333,9 +5333,7 @@ void      Person::DoStuff(){
                bled=0;
 
                if(!dead&&creature==wolftype){
-                       bonus=Wolfbonus;
-                       bonustime=0;
-                       bonusvalue=300;
+                 award_bonus(0, Wolfbonus);
                }
 
                if(unconscioustime<.1&&(bonus!=spinecrusher||bonustime>1)&&(bonus!=FinishedBonus||bonustime>1)&&bloodloss<damagetolerance)