diff options
author | mongo <andmarti@gmail.com> | 2017-03-15 11:53:42 -0300 |
---|---|---|
committer | mongo <andmarti@gmail.com> | 2017-03-15 11:53:42 -0300 |
commit | c2c258889f95ddae8e4b5cfedd07878031857bf1 (patch) | |
tree | ecff666178c40721bc3f9c9feaedbe1dc65615d7 /src/trigger.c | |
parent | 814ba1072df3d7b73d10d4c71ac2d3835878aa1c (diff) |
moved ATBL to vmtbl.c
Diffstat (limited to 'src/trigger.c')
-rw-r--r-- | src/trigger.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/trigger.c b/src/trigger.c index bedb9bd..4b7acc9 100644 --- a/src/trigger.c +++ b/src/trigger.c @@ -129,15 +129,6 @@ void del_trigger(int r, int c, int rf, int cf ) { return; } -struct ent ** ATBL(struct ent ***tbl, int row, int col) { - struct ent **ent=(*(tbl+row)+(col)); - struct ent *v= *ent; - - if ((v) && (v->trigger) && ((v->trigger->flag & TRG_READ) == TRG_READ)) - do_trigger(v,TRG_READ); - return ent; -} - static int in_trigger = 0; void do_trigger( struct ent *p , int rw) { |