Browse Source

oops forgot to close file :-1:

Image 3 years ago
parent
commit
7b69475f92
1 changed files with 1 additions and 0 deletions
  1. 1 0
      EQ2/source/WorldServer/Zone/map.cpp

+ 1 - 0
EQ2/source/WorldServer/Zone/map.cpp

@@ -620,6 +620,7 @@ bool Map::LoadV2Deflated(FILE* f) {
 
 	imp->rm = createRaycastMesh((RmUint32)verts.size(), (const RmReal*)&verts[0], face_count, &indices[0]);
 
+	file.close();
 	safe_delete_array(buf);
 	if (!imp->rm) {
 		delete imp;