Explorar o código

Fixed an incorrect message ID for the bodystyle atcommand
* When using an unsupported bodystyle job an invalid ID was trying to be printed.
Thanks to @julia40124009!

aleos89 %!s(int64=9) %!d(string=hai) anos
pai
achega
247217e7d5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/map/atcommand.c

+ 1 - 1
src/map/atcommand.c

@@ -1744,7 +1744,7 @@ ACMD_FUNC(bodystyle)
 	if (!((sd->class_&MAPID_THIRDMASK) == MAPID_GUILLOTINE_CROSS || (sd->class_&MAPID_THIRDMASK) == MAPID_GENETIC
 		|| (sd->class_&MAPID_THIRDMASK) == MAPID_MECHANIC || (sd->class_&MAPID_THIRDMASK) == MAPID_ROYAL_GUARD
 		|| (sd->class_&MAPID_THIRDMASK) == MAPID_ARCH_BISHOP)) {
-		clif_displaymessage(fd, msg_txt(sd,770));	// This job has no alternate body styles.
+		clif_displaymessage(fd, msg_txt(sd,740));	// This job has no alternate body styles.
 		return -1;
 	}