Parcourir la source

make sure zonesky_file has a default value of an empty string

Image il y a 4 ans
Parent
commit
c53c1ac128
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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;
 }