forked from Ports/perfect_dark
port: net: fix uninitialized tickop in SVC_PROP_USE
This commit is contained in:
1 parent
65589e2fd2
commit
bcb5b3f5c1
1 file changed
+2
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user