Ver Fonte

make sure zonesky_file has a default value of an empty string

Image há 4 anos atrás
pai
commit
c53c1ac128
1 ficheiros alterados com 1 adições e 0 exclusões
  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;
 }