forked from mirror/openmw-tes3mp
Altered getFver to fix a warning
This commit is contained in:
parent
3c5f8a4a23
commit
a1cbc7fb42
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue