Fixed beam const vec3_t parameter

This commit is contained in:
smallmodel 2023-07-10 23:07:57 +02:00
parent 819fe53eaa
commit 7cc687e110
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512
2 changed files with 48 additions and 48 deletions

View file

@ -1171,8 +1171,8 @@ void CG_AddBeams(void)
} }
void CG_CreateBeam( void CG_CreateBeam(
vec3_t start, const vec3_t start,
vec3_t dir, const vec3_t dir,
int owner, int owner,
qhandle_t hModel, qhandle_t hModel,
float alpha, float alpha,
@ -1181,7 +1181,7 @@ void CG_CreateBeam(
float length, float length,
int life, int life,
qboolean create, qboolean create,
vec3_t endpointvec, const vec3_t endpointvec,
int min_offset, int min_offset,
int max_offset, int max_offset,
int overlap, int overlap,

View file

@ -773,8 +773,8 @@ extern "C" {
float scale, int renderfx, const char *beamshadername, byte modulate[4], int flags, int owner, float life float scale, int renderfx, const char *beamshadername, byte modulate[4], int flags, int owner, float life
); );
void CG_CreateBeam( void CG_CreateBeam(
vec3_t start, const vec3_t start,
vec3_t dir, const vec3_t dir,
int owner, int owner,
qhandle_t hModel, qhandle_t hModel,
float alpha, float alpha,
@ -783,7 +783,7 @@ extern "C" {
float length, float length,
int life, int life,
qboolean create, qboolean create,
vec3_t endpointvec, const vec3_t endpointvec,
int min_offset, int min_offset,
int max_offset, int max_offset,
int overlap, int overlap,