Exemple #1
0
 public static short LookupTexture(int landID)
 {
     return(LandTextures.InBounds(landID) ? LandTextures[landID] : (short)0);
 }
Exemple #2
0
        public static short LookupTexture(int landID)
        {
            landID &= TileData.MaxLandValue;

            return(LandTextures.InBounds(landID) ? LandTextures[landID] : (short)0);
        }