RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Map.CompareTo

kegmeister

Sorceror
Line 2076:
Code:
        public int CompareTo( Map other )
        {
            if ( other == null )
                return -1;

            return m_MapID.CompareTo( other.m_MapID );
        }

I think it should be:
Rich (BB code):
        public int CompareTo( Map other )
        {
            if ( other == null )
                return -1;

            return m_MapIndex.CompareTo( other.m_MapIndex );
        }

If i'm not mistaken, m_MapIndex is unique and m_MapID is not.
 

Jeff

Lord
They are in the Core (the RunUO.exe) you need to download the full source to make modifications to the, you will have to compile it yourself as well.
 
Top