From 1c1752f40aac20bf9a5e56817951a013c2219bed Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Tue, 10 Jun 2014 15:31:24 -0700 Subject: Generate the map server protocol Sigh, map server will have no smart filters yet --- src/map/pc.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/map/pc.cpp') diff --git a/src/map/pc.cpp b/src/map/pc.cpp index ac8af28..33cb57f 100644 --- a/src/map/pc.cpp +++ b/src/map/pc.cpp @@ -472,7 +472,7 @@ void pc_makesavestatus(dumb_ptr sd) *------------------------------------------ */ int pc_setnewpc(dumb_ptr sd, AccountId account_id, CharId char_id, - int login_id1, tick_t client_tick, SEX sex) + int login_id1, uint32_t client_tick, SEX sex) { nullpo_ret(sd); @@ -485,7 +485,7 @@ int pc_setnewpc(dumb_ptr sd, AccountId account_id, CharId char // Possible fix: char send auth before client is allowed to know my IP? sd->login_id1 = login_id1; sd->login_id2 = 0; // at this point, we can not know the value :( - sd->client_tick = client_tick; + (void)client_tick; sd->sex = sex; sd->state.auth = 0; sd->bl_type = BL::PC; @@ -912,7 +912,7 @@ void pc_set_weapon_look(dumb_ptr sd) { if (sd->attack_spell_override) clif_changelook(sd, LOOK::WEAPON, - sd->attack_spell_look_override); + unwrap(sd->attack_spell_look_override)); else clif_changelook(sd, LOOK::WEAPON, static_cast(sd->status.weapon)); -- cgit v1.2.3-70-g09d2