summaryrefslogtreecommitdiff
path: root/src/map/pc.cpp
diff options
context:
space:
mode:
author☈king <rking@sharpsaw.org>2013-03-02 18:25:35 -0600
committerBen Longbons <b.r.longbons@gmail.com>2013-03-05 13:45:57 -0800
commitfb97f35adeef33ad17061bffaed57842d9ceda47 (patch)
tree14a782607f1e988b182f6cfd543ef2f29358edba /src/map/pc.cpp
parent2979ad0aa6f8de173254eb7ae867b46894b51105 (diff)
downloadtmwa-fb97f35adeef33ad17061bffaed57842d9ceda47.tar.gz
tmwa-fb97f35adeef33ad17061bffaed57842d9ceda47.tar.bz2
tmwa-fb97f35adeef33ad17061bffaed57842d9ceda47.tar.xz
tmwa-fb97f35adeef33ad17061bffaed57842d9ceda47.zip
Remove atcommand_info's first (redundant) entry
This was an experimental in pair programming. :)
Diffstat (limited to 'src/map/pc.cpp')
-rw-r--r--src/map/pc.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/map/pc.cpp b/src/map/pc.cpp
index 883d9bb..e355063 100644
--- a/src/map/pc.cpp
+++ b/src/map/pc.cpp
@@ -704,11 +704,7 @@ int pc_authok(int id, int login_id2, time_t connect_until_time,
sd->sc_data[i].val1 = 0;
}
sd->sc_count = 0;
- if ((battle_config.atc_gmonly == 0 || pc_isGM(sd)) &&
- (pc_isGM(sd) >= get_atcommand_level(AtCommand_Hide)))
- sd->status.option &= Option::HIDE;
- else
- sd->status.option = Option::ZERO;
+ sd->status.option = Option::ZERO;
// init ignore list
memset(sd->ignore, 0, sizeof(sd->ignore));