summaryrefslogtreecommitdiff
path: root/src/topman.cpp
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2013-05-22 14:18:34 -0500
committerColin Noga <Tempus@chronometry.ca>2013-05-22 14:18:34 -0500
commitd3b2d9fd92ede02ae06232c92e830e5819104f6e (patch)
treeed9c055f856a78b4410231464385779228861153 /src/topman.cpp
parent7d7fd4eb64f562978dbc001bffb53482af747a0b (diff)
downloadkamek-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.cpp6
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) {