mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-29 22:45:34 +00:00
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; }
|
||||
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; }
|
||||
const std::string getAuthor() { return mCtx.header.author.toString(); }
|
||||
const std::string getDesc() { return mCtx.header.desc.toString(); }
|
||||
|
|
Loading…
Reference in a new issue