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