Avoid pointless pointers
Passing OFVector3D by reference is annoying and is worse at passing via registers. FossilOrigin-Name: 304230c1e18fc15a2e66b01bbc1727d107b9d27be6949aad99419bc153bf6e66
This commit is contained in:
parent
d8f4f44468
commit
2f8d255946
9 changed files with 97 additions and 109 deletions
|
@ -221,8 +221,8 @@ localservertoclient(unsigned char *buf, int len)
|
|||
e.y = getint(&p) / DMF;
|
||||
e.z = getint(&p) / DMF;
|
||||
if (gun == GUN_SG)
|
||||
createrays(&s, &e);
|
||||
shootv(gun, &s, &e, d, false);
|
||||
createrays(s, e);
|
||||
shootv(gun, s, e, d, false);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue