mirror of
https://github.com/yquake2/zaero.git
synced 2024-11-10 06:32:04 +00:00
Merge pull request #14 from Soldy/master
error during compiling the code #13
This commit is contained in:
commit
40fb2366d1
1 changed files with 2 additions and 3 deletions
|
@ -745,8 +745,8 @@ void zboss_reelInGraaple2(edict_t *self)
|
||||||
vec3_t vec, dir;
|
vec3_t vec, dir;
|
||||||
float length;
|
float length;
|
||||||
edict_t *enemy;
|
edict_t *enemy;
|
||||||
vec3_t hookoffset;
|
vec3_t hookoffset = {-5, -24, 34};
|
||||||
vec3_t forward, right;
|
vec3_t forward, right;
|
||||||
|
|
||||||
if (!self)
|
if (!self)
|
||||||
{
|
{
|
||||||
|
@ -754,7 +754,6 @@ void zboss_reelInGraaple2(edict_t *self)
|
||||||
}
|
}
|
||||||
|
|
||||||
enemy = self->laser->enemy;
|
enemy = self->laser->enemy;
|
||||||
hookoffset = {-5, -24, 34};
|
|
||||||
|
|
||||||
AngleVectors (self->s.angles, forward, right, NULL);
|
AngleVectors (self->s.angles, forward, right, NULL);
|
||||||
G_ProjectSource(self->s.origin, hookoffset, forward, right, vec);
|
G_ProjectSource(self->s.origin, hookoffset, forward, right, vec);
|
||||||
|
|
Loading…
Reference in a new issue