projects
/
multypo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
4978fd9
)
fix score
master
author
Ralf Jung
<post@ralfj.de>
Fri, 18 Jul 2014 15:29:47 +0000
(17:29 +0200)
committer
Ralf Jung
<post@ralfj.de>
Fri, 18 Jul 2014 15:29:47 +0000
(17:29 +0200)
qt/multypo.cpp
patch
|
blob
|
history
diff --git
a/qt/multypo.cpp
b/qt/multypo.cpp
index fff1da762ff487233d996cf39f28c70df1df1a17..07d60b39dc49450fdbcf66e21d2ab36bde5b23c6 100644
(file)
--- a/
qt/multypo.cpp
+++ b/
qt/multypo.cpp
@@
-104,7
+104,7
@@
void MultypoWindow::handleKeyPress(int device, QString string)
}
else if (state == Playing) { // all players are waiting or typing
if (player->getState() == Player::Typing && player->getCurrentWord() == currentWord) {
}
else if (state == Playing) { // all players are waiting or typing
if (player->getState() == Player::Typing && player->getCurrentWord() == currentWord) {
- int points = typingPlayers()
+1
;
+ int points = typingPlayers();
player->wordComplete(points);
QString readyString = QString("READY: %1 points").arg(points);
if (allPlayersWaiting()) {
player->wordComplete(points);
QString readyString = QString("READY: %1 points").arg(points);
if (allPlayersWaiting()) {