mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 04:01:31 +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
|
||||
{
|
||||
friend class FDrawInfo;
|
||||
friend struct FDrawInfo;
|
||||
public:
|
||||
static const char passflag[];
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue