X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FWeapons.cpp;h=35f73c291be888e57fe7db026f26a266f87afe20;hb=4d0ec1838440e55f24e8ec9501a62348cd9e2ec3;hp=7b694a1b69851102a8dd41a466fe2a607a969829;hpb=4f4771bb67958d2e9180ba24d422141b9069e363;p=lugaru.git diff --git a/Source/Weapons.cpp b/Source/Weapons.cpp index 7b694a1..35f73c2 100644 --- a/Source/Weapons.cpp +++ b/Source/Weapons.cpp @@ -23,7 +23,7 @@ along with Lugaru. If not, see . /**> HEADER FILES <**/ #include "Weapons.h" #include "openal_wrapper.h" -#include "Animation.h" +#include "Animation/Animation.h" #include "Sounds.h" #include "Game.h" #include "Awards.h" @@ -271,7 +271,7 @@ void Weapon::DoStuff(int i) emit_sound_at(fleshstabsound, position, 128.); - if (animation[Person::players[0]->animTarget].height == highheight) + if (Animation::animations[Person::players[0]->animTarget].height == highheight) award_bonus(0, ninja); else award_bonus(0, Bullseyebonus);