MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003144VCMIMultiplayerpublic2020-10-03 05:122022-04-03 19:06
Reporterjambolo 
Assigned ToSXX 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusassignedResolutionopen 
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
2022-04-03 19:06 Povelitel Assigned To => SXX
2022-04-03 19:06 Povelitel Status new => assigned

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2023 MantisBT Team
Hosting provided by DigitalOcean