Changeset View
Changeset View
Standalone View
Standalone View
landscape.cpp
Context not available. | |||||
193 | if (!contains(ball->pos() - pos())) | 193 | if (!contains(ball->pos() - pos())) | ||
---|---|---|---|---|---|
194 | return true; | 194 | return true; | ||
195 | //ball is visible and has reached the puddle | 195 | //ball is visible and has reached the puddle | ||
196 | playSound("puddle"); | 196 | game->playSound(Sound::Puddle); | ||
197 | ball->setAddStroke(ball->addStroke() + 1); | 197 | ball->setAddStroke(ball->addStroke() + 1); | ||
198 | ball->setPlaceOnGround(true); | 198 | ball->setPlaceOnGround(true); | ||
199 | ball->setVisible(false); | 199 | ball->setVisible(false); | ||
Context not available. |