Explorar o código

Send the actual level of the person you're trading with rather than limiting it by the max_lv/aura_lv settings.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14451 54d463be-8e91-2dee-dedb-b68131a5f0ec
Paradox924X %!s(int64=14) %!d(string=hai) anos
pai
achega
527041fb58
Modificáronse 2 ficheiros con 4 adicións e 2 borrados
  1. 2 0
      Changelog-Trunk.txt
  2. 2 2
      src/map/clif.c

+ 2 - 0
Changelog-Trunk.txt

@@ -1,5 +1,7 @@
 Date	Added
 
+2010/11/08
+	* Send the actual level of the person you're trading with rather than limiting it by the max_lv/aura_lv settings. [Paradox924X]
 2010/11/07
 	* 'Exp gained' packets are now sent regardless of @showexp. @showexp can be enabled regardless of PACKETVER. [Gepard]
 	* Applied clif_equiplist fix by Ai4rei to prevent client crash when equipment is broken/repaired and PACKETVER >= 20100629. Follow-up to r14368. (bugreport:4459) [Gepard]

+ 2 - 2
src/map/clif.c

@@ -3458,7 +3458,7 @@ void clif_traderequest(struct map_session_data* sd, const char* name)
 	WFIFOW(fd,0) = 0x1f4;
 	safestrncpy((char*)WFIFOP(fd,2), name, NAME_LENGTH);
 	WFIFOL(fd,26) = tsd->status.char_id;
-	WFIFOW(fd,30) = clif_setlevel(tsd->status.base_level);
+	WFIFOW(fd,30) = tsd->status.base_level;
 	WFIFOSET(fd,packet_len(0x1f4));
 #endif
 }
@@ -3491,7 +3491,7 @@ void clif_tradestart(struct map_session_data* sd, uint8 type)
 	WFIFOW(fd,0) = 0x1f5;
 	WFIFOB(fd,2) = type;
 	WFIFOL(fd,3) = tsd->status.char_id;
-	WFIFOW(fd,7) = clif_setlevel(tsd->status.base_level);
+	WFIFOW(fd,7) = tsd->status.base_level;
 	WFIFOSET(fd,packet_len(0x1f5));
 #endif
 }