mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-15 08:34:44 +00:00
Optimised game-loading, by not reading terrain textures or calculating bounding boxes when not necessary; maps load about twenty seconds faster (at least in Debug mode). Also fixed possible minor bug (FLT_MIN vs -FLT_MAX) and other trivial things.
This was SVN commit r1917.
This commit is contained in:
@@ -47,7 +47,7 @@ bool sparsePathTree::slice()
|
||||
|
||||
if( len == 0.0f )
|
||||
{
|
||||
// Too wierd. (Heavy traffic, obstacles in positions leading to this degenerate state.
|
||||
// Too weird. (Heavy traffic, obstacles in positions leading to this degenerate state.
|
||||
type = SPF_IMPOSSIBLE;
|
||||
return( true );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user