Ignore:
Timestamp:
2013-07-23 22:39:09 (7 years ago)
Author:
dezhidki
Message:

Optimoitu viimeisen päivityksen AStarin ominaisuutta.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2013/30/DenisZ/CastleMaster/CastleMaster/CastleMaster/World/Level.cs

    r4592 r4593  
    371371            for (int i = 0; i < tiles.Length; i++) 
    372372            { 
    373                 if (excludeEndSolidness && xEnd == i % width && zEnd == i / width) 
    374                 { 
    375                     result[i] = false; 
    376                     continue; 
    377                 } 
    378  
    379373                result[i] = tiles[i] == TILE_VOID || registeredTiles[tiles[i]].IsSolid; 
    380374 
Note: See TracChangeset for help on using the changeset viewer.