mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-13 07:57:58 +00:00
- fixed last commit
This commit is contained in:
parent
48b0fbcf4b
commit
c03024e1b0
2 changed files with 4 additions and 3 deletions
|
@ -106,11 +106,11 @@ struct GLSectorPlane
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
class FDrawInfo;
|
struct FDrawInfo;
|
||||||
|
|
||||||
class GLWall
|
class GLWall
|
||||||
{
|
{
|
||||||
friend class FDrawInfo;
|
friend struct FDrawInfo;
|
||||||
public:
|
public:
|
||||||
static const char passflag[];
|
static const char passflag[];
|
||||||
|
|
||||||
|
|
|
@ -1241,7 +1241,8 @@ public:
|
||||||
{
|
{
|
||||||
if (!memcmp(t, Array[i], sizeof(T))) return Array[i];
|
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;
|
return newo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue