Corrected datatype in header and function

This commit is contained in:
Salanto 2021-03-03 01:49:10 +01:00
parent c696e7d525
commit 10072aa9fc
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ class Server : public QObject {
void broadcast(AOPacket packet, int area_index);
void broadcast(AOPacket packet);
QString getServerName();
quint32 getDiceValue(QString value_type);
int getDiceValue(QString value_type);
QVector<AOClient*> clients;

View File

@ -155,7 +155,7 @@ QString Server::getServerName()
return server_name;
}
quint32 Server::getDiceValue(QString value_type)
int Server::getDiceValue(QString value_type)
{
QSettings settings("config/config.ini", QSettings::IniFormat);