Commit 3efc352e4fe2fd0d15374e6a74425c03b8255383

Authored by zhouhaihai
1 parent d43246b0

增加记录log

Showing 2 changed files with 2 additions and 1 deletions   Show diff stats
src/ProtocolCode.lua
... ... @@ -90,6 +90,7 @@ actionCodes = {
90 90 Hero_drawHeroRpc = 220,
91 91 Hero_repayHeroRpc = 221,
92 92 Hero_unlockPoolRpc = 222,
  93 + Hero_changeCrownRpc = 223,
93 94  
94 95 Hang_startRpc = 251,
95 96 Hang_checkRpc = 252,
... ...
src/actions/HeroAction.lua
... ... @@ -453,7 +453,7 @@ function _M.referEquipsRpc(agent, data)
453 453 local hero = role.heros[msg.id]
454 454 if not hero then return 10 end
455 455 local equips = msg.equips
456   - local isAuto = msg.isAuth
  456 + local isAuto = msg.isAuto
457 457 if not equips or not next(equips) then return 11 end
458 458  
459 459 for typ = 1, 4 do -- 4件装备
... ...