From 60d9e17f3719eca2eb4531f9f01976b1e26c411b Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Sun, 13 Oct 2013 14:07:25 -0700 Subject: Use config for internal server userid/passwd instead of accounts.txt This requires updated config files in the data repo. --- src/map/pc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/pc.cpp') diff --git a/src/map/pc.cpp b/src/map/pc.cpp index 8750910..4600aeb 100644 --- a/src/map/pc.cpp +++ b/src/map/pc.cpp @@ -592,7 +592,7 @@ int pc_isequip(dumb_ptr sd, int n) if (item == NULL) return 0; - if (item->sex != SEX::SERVER && sd->status.sex != item->sex) + if (item->sex != SEX::NEUTRAL && sd->status.sex != item->sex) return 0; if (item->elv > 0 && sd->status.base_level < item->elv) return 0; @@ -2228,7 +2228,7 @@ int pc_isUseitem(dumb_ptr sd, int n) if (itemdb_type(nameid) != ItemType::USE) return 0; - if (item->sex != SEX::SERVER && sd->status.sex != item->sex) + if (item->sex != SEX::NEUTRAL && sd->status.sex != item->sex) return 0; if (item->elv > 0 && sd->status.base_level < item->elv) return 0; -- cgit v1.2.3-60-g2f50