Преглед изворни кода

map-server: intif fixed too small wfifo allocation

Florian Wilkemeyer пре 9 година
родитељ
комит
b414faef45
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/map/intif.c

+ 1 - 1
src/map/intif.c

@@ -479,7 +479,7 @@ int intif_request_registry(struct map_session_data *sd, int flag)
 	if (CheckForCharServer())
 		return 0;
 
-	WFIFOHEAD(inter_fd,6);
+	WFIFOHEAD(inter_fd,13);
 	WFIFOW(inter_fd,0) = 0x3005;
 	WFIFOL(inter_fd,2) = sd->status.account_id;
 	WFIFOL(inter_fd,6) = sd->status.char_id;