forked from github/server
gates are never created, probably dead code
This commit is contained in:
parent
ef74b8e759
commit
9e64f66409
2 changed files with 0 additions and 10 deletions
|
@ -103,11 +103,3 @@ struct trigger_type tt_gate = {
|
||||||
gate_read
|
gate_read
|
||||||
};
|
};
|
||||||
|
|
||||||
trigger *trigger_gate(building * b, region * target)
|
|
||||||
{
|
|
||||||
trigger *t = t_new(&tt_gate);
|
|
||||||
gate_data *td = (gate_data *)t->data.v;
|
|
||||||
td->gate = b;
|
|
||||||
td->target = target;
|
|
||||||
return t;
|
|
||||||
}
|
|
||||||
|
|
|
@ -24,8 +24,6 @@ extern "C" {
|
||||||
|
|
||||||
extern struct trigger_type tt_gate;
|
extern struct trigger_type tt_gate;
|
||||||
|
|
||||||
struct trigger *trigger_gate(struct building *b, struct region *r);
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue