Now the rat king screams.
This commit is contained in:
parent
7c11ffa2af
commit
e1da089600
2 changed files with 7 additions and 2 deletions
4
Makefile
4
Makefile
|
|
@ -37,7 +37,7 @@ tracy_build:
|
|||
meson compile -j 10 -C builddir
|
||||
|
||||
test:
|
||||
./builddir/runtests -d yes "[coro]"
|
||||
./builddir/runtests -d yes
|
||||
|
||||
run: build test
|
||||
ifeq '$(OS)' 'Windows_NT'
|
||||
|
|
@ -60,7 +60,7 @@ clean:
|
|||
meson compile --clean -C builddir
|
||||
|
||||
debug_test: build
|
||||
gdb --nx -x .gdbinit --ex run --ex bt --ex q --args builddir/runtests -e "[coro]"
|
||||
gdb --nx -x .gdbinit --ex run --ex bt --ex q --args builddir/runtests -e
|
||||
|
||||
win_installer:
|
||||
powershell 'start "C:\Program Files (x86)\solicus\InstallForge\bin\ifbuilderenvx86.exe" scripts\win_installer.ifp'
|
||||
|
|
|
|||
|
|
@ -160,6 +160,11 @@ namespace boss {
|
|||
}
|
||||
|
||||
if($boss_anim.playing) {
|
||||
if($boss_anim.current == 0) {
|
||||
auto scream = $world->get<components::Sound>($boss_id);
|
||||
sound::play(scream.attack);
|
||||
}
|
||||
|
||||
animation::apply($boss_anim, *$boss_sprite.sprite, $boss_pos);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue