From bcb5b3f5c187eb77eafab54e2afdd13388e66cf1 Mon Sep 17 00:00:00 2001 From: fgsfds Date: Thu, 28 Dec 2023 22:49:39 +0100 Subject: [PATCH] port: net: fix uninitialized tickop in SVC_PROP_USE --- port/src/net/netmsg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/port/src/net/netmsg.c b/port/src/net/netmsg.c index d5c2ea6c1..94b684813 100644 --- a/port/src/net/netmsg.c +++ b/port/src/net/netmsg.c @@ -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: