Fix stroke count being increased more than once when hitting the ball

Authored by aacid on Dec 9 2019, 11:03 PM.



In some cases the ball thought was stopped then not, then stopped, then not, and you get like 100 strokes added instead of one

BUGS: 414791

Diff Detail

R407 Kolf
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
aacid requested review of this revision.Dec 9 2019, 11:03 PM
aacid created this revision.

Anyone can review this?

aacid added a comment.EditedSat, Dec 28, 11:42 PM

I will commit this on January 5th unless someone shouts against.

This revision was not accepted when it landed; it landed in state Needs Review.Sun, Jan 5, 11:58 AM
This revision was automatically updated to reflect the committed changes.
Restricted Application added a reviewer: KDE Games. · View Herald TranscriptSun, Jan 5, 11:58 AM
Restricted Application added a subscriber: kde-games-devel. · View Herald Transcript