Merge pull request #14 from Soldy/master

error during compiling the code #13
This commit is contained in:
Yamagi 2020-06-02 08:47:38 +02:00 committed by GitHub
commit 40fb2366d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -745,8 +745,8 @@ void zboss_reelInGraaple2(edict_t *self)
vec3_t vec, dir;
float length;
edict_t *enemy;
vec3_t hookoffset;
vec3_t forward, right;
vec3_t hookoffset = {-5, -24, 34};
vec3_t forward, right;
if (!self)
{
@ -754,7 +754,6 @@ void zboss_reelInGraaple2(edict_t *self)
}
enemy = self->laser->enemy;
hookoffset = {-5, -24, 34};
AngleVectors (self->s.angles, forward, right, NULL);
G_ProjectSource(self->s.origin, hookoffset, forward, right, vec);