- fixed compilation of targets with optimization

This commit is contained in:
alexey.lysiuk 2018-11-15 10:59:37 +02:00
parent cf590d73e4
commit 39a3527396
2 changed files with 4 additions and 2 deletions

View file

@ -48,8 +48,6 @@
#include "w_wad.h"
#include "doomstat.h"
inline PClass *PObjectPointer::PointedClass() const { return static_cast<PClassType*>(PointedType)->Descriptor; }
extern FRandom pr_exrandom;
FMemArena FxAlloc(65536);
int utf8_decode(const char *src, int *size);

View file

@ -575,6 +575,10 @@ public:
};
inline PClass *PObjectPointer::PointedClass() const
{
return static_cast<PClassType*>(PointedType)->Descriptor;
}
// Returns a type from the TypeTable. Will create one if it isn't present.
PMap *NewMap(PType *keytype, PType *valuetype);