Skip to content

Small optimization in MapCache::Load_User_Maps #1032

@xezon

Description

@xezon
bool MapCache::Load_User_Maps()
{
...
            for (unsigned int i = 0; i < strlen(".map"); i++) {
                map_name.Remove_Last_Char();
            }
...
}

strlen(".map") can be taken out of the loop condition.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions