summaryrefslogtreecommitdiffstats
path: root/src/trigger.c
diff options
context:
space:
mode:
authormongo <andmarti@gmail.com>2017-03-15 11:53:42 -0300
committermongo <andmarti@gmail.com>2017-03-15 11:53:42 -0300
commitc2c258889f95ddae8e4b5cfedd07878031857bf1 (patch)
treeecff666178c40721bc3f9c9feaedbe1dc65615d7 /src/trigger.c
parent814ba1072df3d7b73d10d4c71ac2d3835878aa1c (diff)
moved ATBL to vmtbl.c
Diffstat (limited to 'src/trigger.c')
-rw-r--r--src/trigger.c9
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) {