06-04-2009, 06:43 PM
Anybody ever notice something? 
The ground layer will draw, even if it's not set. To fix this, simply find where it's drawing:
And replace it with this:
My FPS went from 200 to nearly 500.

The ground layer will draw, even if it's not set. To fix this, simply find where it's drawing:
Code:
Call DD_BltFast(MapTilePosition(X, Y).PosX, MapTilePosition(X, Y).PosY, DDS_Tile.Surface, MapTilePosition(X, Y).Ground, DDBLTFAST_WAIT)
And replace it with this:
Code:
If Map.Tile(X, Y).Ground > 0 Then
Call DD_BltFast(MapTilePosition(X, Y).PosX, MapTilePosition(X, Y).PosY, DDS_Tile.Surface, MapTilePosition(X, Y).Ground, DDBLTFAST_WAIT)
End If
My FPS went from 200 to nearly 500.