- fixed last commit

This commit is contained in:
Christoph Oelckers 2018-04-14 22:34:25 +02:00
parent 48b0fbcf4b
commit c03024e1b0
2 changed files with 4 additions and 3 deletions

View file

@ -106,11 +106,11 @@ struct GLSectorPlane
}
};
class FDrawInfo;
struct FDrawInfo;
class GLWall
{
friend class FDrawInfo;
friend struct FDrawInfo;
public:
static const char passflag[];

View file

@ -1241,7 +1241,8 @@ public:
{
if (!memcmp(t, Array[i], sizeof(T))) return Array[i];
}
Array.Push(new T(*t));
auto newo = new T(*t);
Array.Push(newo);
return newo;
}