MantisBT - VCMI
View Issue Details
0003144VCMIMultiplayerpublic2020-10-03 05:122022-04-03 19:06
jambolo 
SXX 
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

There are no notes attached to this issue.