From af4acff261d579428e8eef042cc5359fa392f725 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Tue, 27 May 2014 13:33:54 -0700 Subject: Generate the char server protocol --- src/map/chrif.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/map/chrif.cpp') diff --git a/src/map/chrif.cpp b/src/map/chrif.cpp index 9e69521..a6c11b9 100644 --- a/src/map/chrif.cpp +++ b/src/map/chrif.cpp @@ -268,6 +268,7 @@ int chrif_changemapserverack(Session *s) if (sd == NULL || sd->status_key.char_id != wrap(RFIFOL(s, 14))) return -1; + // I am fairly certain that this is not possible if (RFIFOL(s, 6) == 1) { if (battle_config.error_log) @@ -956,7 +957,7 @@ void ladmin_itemfrob_c2(dumb_ptr bl, ItemNameId source_id, ItemNameI case BL::PC: { dumb_ptr pc = bl->is_player(); - struct storage *stor = account2storage2(pc->status_key.account_id); + Storage *stor = account2storage2(pc->status_key.account_id); int j; for (j = 0; j < MAX_INVENTORY; j++) -- cgit v1.2.3-60-g2f50