Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/game/Pvs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -973,20 +973,20 @@ idPVS::Shutdown
*/
void idPVS::Shutdown( void ) {
if ( connectedAreas ) {
delete connectedAreas;
delete[] connectedAreas;
connectedAreas = NULL;
}
if ( areaQueue ) {
delete areaQueue;
delete[] areaQueue;
areaQueue = NULL;
}
if ( areaPVS ) {
delete areaPVS;
delete[] areaPVS;
areaPVS = NULL;
}
if ( currentPVS ) {
for ( int i = 0; i < MAX_CURRENT_PVS; i++ ) {
delete currentPVS[i].pvs;
delete[] currentPVS[i].pvs;
currentPVS[i].pvs = NULL;
}
}
Expand Down
4 changes: 3 additions & 1 deletion src/game/anim/Anim.h
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,9 @@ class idMD5Anim {

public:
idMD5Anim();
~idMD5Anim();
// HUMANHEAD's hhMD5Anim derives from this, and idAnimManager deletes
// it through an idMD5Anim pointer.
virtual ~idMD5Anim();

void Free( void );
bool Reload( void );
Expand Down
Loading