- fixed compilation of targets with optimization

This commit is contained in:
alexey.lysiuk 2018-11-15 10:59:37 +02:00 committed by drfrag666
parent 645c7fb192
commit 6e922761a8
2 changed files with 4 additions and 2 deletions

View file

@ -56,8 +56,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);