Просмотр исходного кода

make sure zonesky_file has a default value of an empty string

Image 4 лет назад
Родитель
Сommit
c53c1ac128
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      EQ2/source/WorldServer/zoneserver.cpp

+ 1 - 0
EQ2/source/WorldServer/zoneserver.cpp

@@ -156,6 +156,7 @@ ZoneServer::ZoneServer(const char* name) {
 	Grid = nullptr;
 	zonemap = nullptr;
 	pathing = nullptr;
+	strcpy(zonesky_file,"");
 	
 	reloading = true;
 }