MantisBT - VCMI
View Issue Details
0003144VCMIMultiplayerpublic2020-10-03 05:122024-05-11 08:51
jambolo 
Ivan 
normalminorhave not tried
assignedopen 
 
 
0003144: Typo in CServerHandler.cpp at line 421 in CServerHandler::sendMessage()
The following code is probably wrong:

    void CServerHandler::sendMessage(const std::string & txt) const
    {
        ...
        else if(command == "!forcep")
        {
            ...
            if(connectedId.length(), playerColorId.length()) <---- HERE *******
            {
                ...
            }
        }
        ...
    }

Perhaps it should be:

    if(connectedId.length() < playerColorId.length())
No tags attached.
Issue History
2020-10-03 05:12jamboloNew Issue
2022-04-03 19:06PovelitelAssigned To => SXX
2022-04-03 19:06PovelitelStatusnew => assigned
2024-05-11 08:51PovelitelAssigned ToSXX => Ivan

There are no notes attached to this issue.