diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2018-03-31 16:04:04 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2018-03-31 16:04:04 +0200 |
commit | d72e8d61de2f7efba3685dda2dc52b31f64f8a6e (patch) | |
tree | 2cda01dcc5b0e17fcf109469ac99296c2212346b /src/game/units.cpp | |
parent | d87217dffc1582b8dbed10da62b3b4d3f7b511de (diff) |
3D audio.
Diffstat (limited to 'src/game/units.cpp')
-rw-r--r-- | src/game/units.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/units.cpp b/src/game/units.cpp index 30cfdd5..47e729c 100644 --- a/src/game/units.cpp +++ b/src/game/units.cpp @@ -354,7 +354,7 @@ void unit_soldier_t::shoot(v2f_t aim) flash->place(&game->world); last_attack = game->now; - assets::soldier.fire.play(); + assets::soldier.fire.play_3d(x); //target->damage(3, this); FIXME } @@ -458,7 +458,7 @@ void unit_soldier_t::on_think(void) if (move.moving && (x - move.last_step).len() > 0.5f) { move.last_step = x; - assets::soldier.step_stone.play(); + assets::soldier.step_stone.play_3d(x); } } |