diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Terrain')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Terrain/FileLoaders/RAW32.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/Terrain/FileLoaders/RAW32.cs b/OpenSim/Region/Environment/Modules/Terrain/FileLoaders/RAW32.cs index 83ee341..7575b1b 100644 --- a/OpenSim/Region/Environment/Modules/Terrain/FileLoaders/RAW32.cs +++ b/OpenSim/Region/Environment/Modules/Terrain/FileLoaders/RAW32.cs | |||
@@ -130,7 +130,7 @@ namespace OpenSim.Region.Environment.Modules.Terrain.FileLoaders | |||
130 | public void SaveFile(string filename, ITerrainChannel map) | 130 | public void SaveFile(string filename, ITerrainChannel map) |
131 | { | 131 | { |
132 | FileInfo file = new FileInfo(filename); | 132 | FileInfo file = new FileInfo(filename); |
133 | FileStream s = file.Open(FileMode.CreateNew, FileAccess.Write); | 133 | FileStream s = file.Open(FileMode.Create, FileAccess.Write); |
134 | BinaryWriter bs = new BinaryWriter(s); | 134 | BinaryWriter bs = new BinaryWriter(s); |
135 | 135 | ||
136 | int x, y; | 136 | int x, y; |