Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
TwelveEyes committed Jun 29, 2024
1 parent de5af42 commit 320ab6c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions code/game/g_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -911,16 +911,16 @@ void G_FreeEntity( gentity_t *ed ) {
if(ed->client->clientInfo.customJediSoundDir) {
gi.Free(ed->client->clientInfo.customJediSoundDir);
}
if(ed->client->ps.saber[0].name && gi.bIsFromZone(ed->client->ps.saber[0].name, TAG_G_ALLOC) ) {
if(ed->client->ps.saber[0].name /* && gi.bIsFromZone(ed->client->ps.saber[0].name, TAG_G_ALLOC) */ ) {
gi.Free(ed->client->ps.saber[0].name);
}
if(ed->client->ps.saber[0].model && gi.bIsFromZone(ed->client->ps.saber[0].model, TAG_G_ALLOC) ) {
if(ed->client->ps.saber[0].model /* && gi.bIsFromZone(ed->client->ps.saber[0].model, TAG_G_ALLOC) */ ) {
gi.Free(ed->client->ps.saber[0].model);
}
if(ed->client->ps.saber[1].name && gi.bIsFromZone(ed->client->ps.saber[1].name, TAG_G_ALLOC) ) {
if(ed->client->ps.saber[1].name /* && gi.bIsFromZone(ed->client->ps.saber[1].name, TAG_G_ALLOC) */ ) {
gi.Free(ed->client->ps.saber[1].name);
}
if(ed->client->ps.saber[1].model && gi.bIsFromZone(ed->client->ps.saber[1].model, TAG_G_ALLOC) ) {
if(ed->client->ps.saber[1].model /* && gi.bIsFromZone(ed->client->ps.saber[1].model, TAG_G_ALLOC) */ ) {
gi.Free(ed->client->ps.saber[1].model);
}

Expand Down

0 comments on commit 320ab6c

Please sign in to comment.