forked from github/server
gates are never created, probably dead code
This commit is contained in:
parent
ef74b8e759
commit
9e64f66409
|
@ -103,11 +103,3 @@ struct trigger_type tt_gate = {
|
|||
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;
|
||||
|
||||
struct trigger *trigger_gate(struct building *b, struct region *r);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue