make gate update use net c structT
This commit is contained in:
@@ -107,6 +107,7 @@ function GateDefinition.constructgate(def, objref, position, rotation)
|
||||
gate.port_net_state [port.idx] = ffi.cast("int*", 0)
|
||||
gate.port_net_state_num[port.idx] = ffi.cast("int*", 0)
|
||||
gate.port_net_in_queue [port.idx] = ffi.cast("int*", 0)
|
||||
gate.port_nets_c [port.idx] = ffi.cast("struct Net*", 0)
|
||||
end
|
||||
|
||||
return gate
|
||||
|
||||
Reference in New Issue
Block a user