mirror of
https://github.com/p2r3/bareiron.git
synced 2025-10-02 07:35:08 +02:00
fix right click dealing damage
This commit is contained in:
@@ -997,7 +997,9 @@ int cs_interact (int client_fd) {
|
|||||||
// Ignore sneaking flag
|
// Ignore sneaking flag
|
||||||
recv_all(client_fd, recv_buffer, 1, false);
|
recv_all(client_fd, recv_buffer, 1, false);
|
||||||
|
|
||||||
hurtEntity(entity_id, client_fd, D_generic, 1);
|
if (type == 1) {
|
||||||
|
hurtEntity(entity_id, client_fd, D_generic, 1);
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user