aboutsummaryrefslogtreecommitdiff
path: root/advtrains/textures/advtrains_signal_inv.png
diff options
context:
space:
mode:
authortechniX <sergei.mozhaisky@gmail.com>2020-07-10 12:02:23 +0200
committerGabriel PĂ©rez-Cerezo <gabriel@gpcf.eu>2020-07-10 12:02:23 +0200
commit74bf177cc850164a0a6c13a634e7da6410f9f73a (patch)
treedaab6d26fe858a6db65e474b160f8daab5d01aad /advtrains/textures/advtrains_signal_inv.png
parentf33bb563e78a62cc8fb2e1483a6cb9a2436b708a (diff)
downloadadvtrains-74bf177cc850164a0a6c13a634e7da6410f9f73a.tar.gz
advtrains-74bf177cc850164a0a6c13a634e7da6410f9f73a.tar.bz2
advtrains-74bf177cc850164a0a6c13a634e7da6410f9f73a.zip
optimize path_get_index_by_offset
Instead of calling path_get_adjacent twice (which calls path_get twice, i.e. 4 times overall), we call path_get directly only 2 times with min and max indices to generate all the path we need for calculations.
Diffstat (limited to 'advtrains/textures/advtrains_signal_inv.png')
0 files changed, 0 insertions, 0 deletions