mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 09:49:14 +00:00
TUCKER: Fix bubbles in Plugs shop
Fixes Trac#6641.
This commit is contained in:
parent
3c37c42bd0
commit
4daf3e4ea5
@ -972,9 +972,12 @@ void TuckerEngine::updateSprite_locationNum14(int i) {
|
||||
}
|
||||
|
||||
void TuckerEngine::execData3PreUpdate_locationNum14() {
|
||||
if (_yPosCurrent >= 127)
|
||||
return;
|
||||
if (_yPosCurrent >= 127) {
|
||||
execData3Update_locationNum14();
|
||||
}
|
||||
}
|
||||
|
||||
void TuckerEngine::execData3Update_locationNum14() {
|
||||
if (!isSoundPlaying(0)) {
|
||||
int num = -1;
|
||||
const int i = getRandomNumber();
|
||||
@ -1058,7 +1061,7 @@ void TuckerEngine::execData3PreUpdate_locationNum14Helper2(int i) {
|
||||
|
||||
void TuckerEngine::execData3PostUpdate_locationNum14() {
|
||||
if (_yPosCurrent < 127) {
|
||||
execData3PreUpdate_locationNum14();
|
||||
execData3Update_locationNum14();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -440,6 +440,7 @@ protected:
|
||||
void updateSprite_locationNum13(int i);
|
||||
void execData3PreUpdate_locationNum13();
|
||||
void updateSprite_locationNum14(int i);
|
||||
void execData3Update_locationNum14();
|
||||
void execData3PreUpdate_locationNum14();
|
||||
void execData3PreUpdate_locationNum14Helper1(int i);
|
||||
void execData3PreUpdate_locationNum14Helper2(int i);
|
||||
|
Loading…
x
Reference in New Issue
Block a user