summaryrefslogtreecommitdiff
path: root/src/char
diff options
context:
space:
mode:
Diffstat (limited to 'src/char')
-rw-r--r--src/char/char.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/char/char.c b/src/char/char.c
index b1f0ee224..a6e5d39c8 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -2713,8 +2713,7 @@ int parse_frommap(int fd)
map_fd = server[map_id].fd;
//Char should just had been saved before this packet, so this should be safe. [Skotlex]
char_data = (struct mmo_charstatus*)uidb_get(char_db_,RFIFOL(fd,14));
- if (char_data == NULL)
- { //Really shouldn't happen.
+ if (char_data == NULL) { //Really shouldn't happen.
mmo_char_fromsql(RFIFOL(fd,14), &char_dat, true);
char_data = (struct mmo_charstatus*)uidb_get(char_db_,RFIFOL(fd,14));
}
@@ -2760,7 +2759,7 @@ int parse_frommap(int fd)
WFIFOL(fd,6) = 0; //Set login1 to 0.
WFIFOSET(fd,30);
}
- RFIFOSKIP(fd,35);
+ RFIFOSKIP(fd,39);
}
break;