mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-04 18:09:53 +03:00
fix debug compile
This commit is contained in:
@@ -84,7 +84,9 @@ CPolyhedron_AllocByNew *CPolyhedron_AllocByNew::Allocate( unsigned short iVertic
|
||||
(iIndices * sizeof( Polyhedron_IndexedLineReference_t )) +
|
||||
(iPolygons * sizeof( Polyhedron_IndexedPolygon_t )));
|
||||
|
||||
#include "tier0/memdbgoff.h"
|
||||
CPolyhedron_AllocByNew *pAllocated = new ( pMemory ) CPolyhedron_AllocByNew;
|
||||
#include "tier0/memdbgon.h"
|
||||
|
||||
pAllocated->iVertexCount = iVertices;
|
||||
pAllocated->iLineCount = iLines;
|
||||
|
||||
Reference in New Issue
Block a user