diff options
author | Colin Noga <Tempus@chronometry.ca> | 2013-05-22 14:18:34 -0500 |
---|---|---|
committer | Colin Noga <Tempus@chronometry.ca> | 2013-05-22 14:18:34 -0500 |
commit | d3b2d9fd92ede02ae06232c92e830e5819104f6e (patch) | |
tree | ed9c055f856a78b4410231464385779228861153 /src/topman.cpp | |
parent | 7d7fd4eb64f562978dbc001bffb53482af747a0b (diff) | |
download | kamek-d3b2d9fd92ede02ae06232c92e830e5819104f6e.tar.gz kamek-d3b2d9fd92ede02ae06232c92e830e5819104f6e.zip |
Minor shy guy fixes, topman noise fixes, samurshai wall fixes, removed animtile EFB copy speedup - untested commit
Diffstat (limited to '')
-rw-r--r-- | src/topman.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/topman.cpp b/src/topman.cpp index 8b99f0d..55123f8 100644 --- a/src/topman.cpp +++ b/src/topman.cpp @@ -433,7 +433,8 @@ void daTopman::updateModelMatrices() { } void daTopman::executeState_Walk() { - PlaySound(this, SE_BOSS_JR_CROWN_JR_RIDE); // 5 + if (!this->isOutOfView()) + PlaySound(this, SE_BOSS_JR_CROWN_JR_RIDE); // 5 bool ret = calculateTileCollisions(); if (ret) { @@ -485,7 +486,8 @@ void daTopman::updateModelMatrices() { } void daTopman::executeState_Wait() { - PlaySound(this, SE_BOSS_JR_CROWN_JR_RIDE); // 5 + if (!this->isOutOfView()) + PlaySound(this, SE_BOSS_JR_CROWN_JR_RIDE); // 5 bool ret = calculateTileCollisions(); if (ret) { |