Changeset View
Changeset View
Standalone View
Standalone View
ball.cpp
Context not available. | |||||
125 | foreach (QGraphicsItem* item, items) | 125 | foreach (QGraphicsItem* item, items) | ||
---|---|---|---|---|---|
126 | { | 126 | { | ||
127 | if (item->data(0) == Rtti_NoCollision || item->data(0) == Rtti_Putter) | 127 | if (item->data(0) == Rtti_NoCollision || item->data(0) == Rtti_Putter) | ||
128 | { | ||||
129 | if (item->data(0) == Rtti_NoCollision) | ||||
130 | game->playSound(Sound::Wall); | ||||
128 | continue; | 131 | continue; | ||
132 | } | ||||
129 | 133 | | |||
130 | if (!isVisible() || state == Holed) | 134 | if (!isVisible() || state == Holed) | ||
131 | return; | 135 | return; | ||
Context not available. |