commit
e51fc8de37
@ -1250,8 +1250,7 @@ void AOClient::cmd8Ball(int argc, QStringList argv)
|
|||||||
sendServerMessage("8ball.txt is empty.");
|
sendServerMessage("8ball.txt is empty.");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
int answerindex = server->magic_8ball_answers.size();
|
QString response = server->magic_8ball_answers[(genRand(1, server->magic_8ball_answers.size() - 1))];
|
||||||
QString response = server->magic_8ball_answers[(genRand(1, answerindex))];
|
|
||||||
QString sender_name = ooc_name;
|
QString sender_name = ooc_name;
|
||||||
QString sender_message = argv.join(" ");
|
QString sender_message = argv.join(" ");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user