Show
Ignore:
Timestamp:
11/19/08 13:32:10 (17 years ago)
Author:
yumileroy
Message:

[svn] * fixed help for subcommands - source mangos
* Renamed accounts column tbc to expansion and it only took a little over 4 hours o.O

Original author: KingPin?
Date: 2008-10-20 12:23:56-05:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/shared/Database/DBCStores.cpp

    r44 r78  
    555555 
    556556    MapEntry const* mapEntry = sMapStore.LookupEntry(mapid); 
    557     return (!mapEntry || !mapEntry->IsExpansionMap()) ? CONTENT_1_60 : CONTENT_61_70; 
     557    if(!mapEntry) 
     558        return CONTENT_1_60; 
     559 
     560    switch(mapEntry->Expansion()) 
     561    { 
     562        default: return CONTENT_1_60; 
     563        case 1:  return CONTENT_61_70; 
     564        case 2:  return CONTENT_71_80; 
     565    } 
    558566} 
    559567