mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 06:39:49 +00: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; }
|
||||
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 New Issue
Block a user