Differences From Artifact [15c84f7e82]:
- File src/clients2c.m — part of check-in [85566b261d] at 2025-03-23 14:17:30 on branch trunk — Adjust to ObjFW changes (user: js, size: 9147) [annotate] [blame] [check-ins using]
To Artifact [be4039eb8e]:
- File
src/clients2c.m
— part of check-in
[304230c1e1]
at
2025-03-23 21:52:54
on branch trunk
— Avoid pointless pointers
Passing OFVector3D by reference is annoying and is worse at passing via registers. (user: js, size: 9143) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
217 218 219 220 221 222 223 | s.x = getint(&p) / DMF; s.y = getint(&p) / DMF; s.z = getint(&p) / DMF; e.x = getint(&p) / DMF; e.y = getint(&p) / DMF; e.z = getint(&p) / DMF; if (gun == GUN_SG) | | | | 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 | s.x = getint(&p) / DMF; s.y = getint(&p) / DMF; s.z = getint(&p) / DMF; e.x = getint(&p) / DMF; e.y = getint(&p) / DMF; e.z = getint(&p) / DMF; if (gun == GUN_SG) createrays(s, e); shootv(gun, s, e, d, false); break; } case SV_DAMAGE: { int target = getint(&p); int damage = getint(&p); int ls = getint(&p); |
︙ | ︙ |