|
From: <gjh...@us...> - 2003-09-02 07:14:57
|
Update of /cvsroot/mistmud/mistmud
In directory sc8-pr-cvs1:/tmp/cvs-serv28311
Modified Files:
Tag: rev_1_3
utils.h
Log Message:
- added GET_LEARNED() macro
Index: utils.h
===================================================================
RCS file: /cvsroot/mistmud/mistmud/utils.h,v
retrieving revision 1.3.2.6
retrieving revision 1.3.2.7
diff -C2 -d -r1.3.2.6 -r1.3.2.7
*** utils.h 1 Sep 2003 15:57:40 -0000 1.3.2.6
--- utils.h 2 Sep 2003 07:14:52 -0000 1.3.2.7
***************
*** 208,211 ****
--- 208,213 ----
!IS_AFFECTED(ch, AFF_PARALYSIS) )
+ #define GET_LEARNED(ch,skill) ((ch)->skills[(skill)].learned)
+
#ifndef LAG_MOBILES
#define WAIT_STATE(ch, cycle) (((ch)->desc) ? (ch)->desc->wait = ((GetMaxLevel(ch) >= DEMIGOD) ? (0) : (cycle)) : 0)
|