[anomalyjobs] r425 committed - Fix for Issue 164, bucket lock now checked against transparency attrib...

0 views
Skip to first unread message

anoma...@googlecode.com

unread,
Apr 2, 2013, 6:09:34 PM4/2/13
to anoma...@googlegroups.com
Revision: 425
Author: flee...@gmail.com
Date: Tue Apr 2 15:09:16 2013
Log: Fix for Issue 164, bucket lock now checked against transparency
attribute.
http://code.google.com/p/anomalyjobs/source/detail?r=425

Modified:
/trunk/full/jobs-full.txt

=======================================
--- /trunk/full/jobs-full.txt Tue Apr 2 13:17:30 2013
+++ /trunk/full/jobs-full.txt Tue Apr 2 15:09:16 2013
@@ -2779,9 +2779,10 @@
# %1 = player to check access
# %2 = job dbref
#
+#
&FN_MYACCESSCHECK [v(JOB_VA)]=
band(add(
- elock(%0/speech,%1),
+ and(elock(%0/speech,%1),u(%va/IS_TRANSPARENT,%0)),
gt(member(get(%1/JOBSB),u(FN_OBJID,%0)),0),
ifelse(strlen(%2),
gt(member(get(%2/JOBACCESS),u(FN_OBJID,%1)),0),
Reply all
Reply to author
Forward
0 new messages