gates are never created, probably dead code

This commit is contained in:
Enno Rehling 2018-05-18 02:55:03 +02:00
parent ef74b8e759
commit 9e64f66409
2 changed files with 0 additions and 10 deletions

View File

@ -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;
}

View File

@ -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