26-08-2007, 12:37 PM
Just one thing for performance, replace thewithThis way it will not check the if max_mapy*max_mapx times... It's the same thing, but little faster(unnoticeable)...
Code:
For y = 0 To MAX_MAPY
For x = 0 To MAX_MAPX
If frmMapEditor.optLayers.Value = True Then
Code:
If frmMapEditor.optLayers.Value = True Then
For y = 0 To MAX_MAPY
For x = 0 To MAX_MAPX