mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 07:32:00 -04:00
Altered getFver to fix a warning
This commit is contained in:
parent
3c5f8a4a23
commit
a1cbc7fb42
@ -153,7 +153,7 @@ public:
|
|||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
int getVer() { return mCtx.header.version; }
|
int getVer() { return mCtx.header.version; }
|
||||||
float getFVer() { return *((float*)&mCtx.header.version); }
|
float getFVer() { if(mCtx.header.version == VER_12) return 1.2; else return 1.3; }
|
||||||
int getSpecial() { return mSpf; }
|
int getSpecial() { return mSpf; }
|
||||||
const std::string getAuthor() { return mCtx.header.author.toString(); }
|
const std::string getAuthor() { return mCtx.header.author.toString(); }
|
||||||
const std::string getDesc() { return mCtx.header.desc.toString(); }
|
const std::string getDesc() { return mCtx.header.desc.toString(); }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user