diff options
author | (no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-05 00:00:50 +0000 |
---|---|---|
committer | (no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-05 00:00:50 +0000 |
commit | 33c37b2ba315af44f1ed17adafc06044059af32f (patch) | |
tree | d3e245143e1877e90a25763291e5ac08b5f7f5cd /src/map/pc.c | |
parent | 8d77d2d60af57862d731814b23a81ec868668043 (diff) | |
download | hercules-33c37b2ba315af44f1ed17adafc06044059af32f.tar.gz hercules-33c37b2ba315af44f1ed17adafc06044059af32f.tar.bz2 hercules-33c37b2ba315af44f1ed17adafc06044059af32f.tar.xz hercules-33c37b2ba315af44f1ed17adafc06044059af32f.zip |
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@9 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 34a1e9c72..68fed3fb9 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -659,8 +659,7 @@ int pc_authok(int id, int login_id2, time_t connect_until_time, struct mmo_chars unsigned long tick = gettick();
sd = map_id2sd(id);
- if(sd==NULL)
- return 1;
+ nullpo_retr(1, sd);
sd->login_id2 = login_id2;
|