Skip to content

Commit

Permalink
port: net: fix uninitialized tickop in SVC_PROP_USE
Browse files Browse the repository at this point in the history
  • Loading branch information
fgsfdsfgs committed Dec 28, 2023
1 parent 65589e2 commit bcb5b3f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions port/src/net/netmsg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit bcb5b3f

Please sign in to comment.