summaryrefslogtreecommitdiff
path: root/src/map/intif.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/intif.c')
-rw-r--r--src/map/intif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/intif.c b/src/map/intif.c
index 8cd66e364..fff356d5c 100644
--- a/src/map/intif.c
+++ b/src/map/intif.c
@@ -1366,8 +1366,8 @@ int intif_parse_DeletePetOk(int fd)
int intif_parse_RenamePetOk(int fd)
{
+ struct map_session_data *sd = NULL;
RFIFOHEAD(fd);
- struct map_session_data *sd;
if((sd=map_id2sd(RFIFOL(fd,2)))==NULL ||
sd->status.char_id != RFIFOL(fd,6))
return 0;