mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
Pass vec2_ts to get_screen_coords() by reference instead of by value
git-svn-id: https://svn.eduke32.com/eduke32@7027 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
2206581952
commit
eb08f1443e
1 changed files with 1 additions and 1 deletions
|
@ -1571,7 +1571,7 @@ static inline vec2_t get_rel_coords(int32_t const x, int32_t const y)
|
|||
|
||||
// Note: the returned y coordinates are not actually screen coordinates, but
|
||||
// potentially clipped player-relative y coordinates.
|
||||
static int get_screen_coords(const vec2_t p1, const vec2_t p2,
|
||||
static int get_screen_coords(const vec2_t &p1, const vec2_t &p2,
|
||||
int32_t *sx1ptr, int32_t *sy1ptr,
|
||||
int32_t *sx2ptr, int32_t *sy2ptr)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue