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 | playSound("wall"); | ||||
128 | continue; | 130 | continue; | ||
131 | } | ||||
129 | 132 | | |||
130 | if (!isVisible() || state == Holed) | 133 | if (!isVisible() || state == Holed) | ||
131 | return; | 134 | return; | ||
Context not available. |