MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003144VCMIMultiplayerpublic2020-10-03 05:122020-10-03 05:12
Reporterjambolo 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0003144: Typo in CServerHandler.cpp at line 421 in CServerHandler::sendMessage()
DescriptionThe 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())
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2020-10-03 05:12 jambolo New Issue

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2020 MantisBT Team
Hosting provided by DigitalOcean