Skip to content

Commit

Permalink
[MP] Fix ghoul2 crash found by changing from FFA->Siege and restartin…
Browse files Browse the repository at this point in the history
…g map on local server
  • Loading branch information
Razish committed Dec 24, 2017
1 parent 5dedb33 commit 41bd4d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions codemp/server/sv_gameapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1542,6 +1542,9 @@ static int SV_G2API_CopyGhoul2Instance( void *g2From, void *g2To, int modelIndex
}

static void SV_G2API_CopySpecificGhoul2Model( void *g2From, int modelFrom, void *g2To, int modelTo ) {
if ( !g2From || !g2To ) {
return;
}
re->G2API_CopySpecificG2Model( *((CGhoul2Info_v *)g2From), modelFrom, *((CGhoul2Info_v *)g2To), modelTo );
}

Expand Down

0 comments on commit 41bd4d8

Please sign in to comment.