port: net: fix uninitialized tickop in SVC_PROP_USE

This commit is contained in:
fgsfds committed 2023-12-28 22:49:39 +01:00
1 parent 65589e2fd2
commit bcb5b3f5c1
1 file changed
+2
+2
View File
@@ -1170,6 +1170,8 @@ u32 netmsgSvcPropUseRead(struct netbuf *src, struct netclient *srccl)
case PROPTYPE_WEAPON:
if (!prop->obj || prop->obj->type != OBJTYPE_LIFT) {
ownop = propobjInteract(prop);
} else {
ownop = TICKOP_NONE;
}
break;
default: