Преглед на файлове

git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@43 54d463be-8e91-2dee-dedb-b68131a5f0ec

Shinigami преди 20 години
родител
ревизия
7785352829
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      src/map/atcommand.c

+ 2 - 2
src/map/atcommand.c

@@ -5925,8 +5925,8 @@ int atcommand_repairall(
 
 	count = 0;
 	for (i = 0; i < MAX_INVENTORY; i++) {
-		if (sd->status.inventory[i].nameid && sd->status.inventory[i].broken == 1) {
-			sd->status.inventory[i].broken = 0;
+		if (sd->status.inventory[i].nameid && sd->status.inventory[i].attribute == 1) {
+			sd->status.inventory[i].attribute = 0;
 			clif_produceeffect(sd, 0, sd->status.inventory[i].nameid);
 			count++;
 		}