1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 09:53:50 +00:00

MWMechanics::DynamicStat: fix members initialization

This commit is contained in:
Emanuel Guevel 2013-07-20 14:52:17 +02:00
parent a8168c58c2
commit 074e241c32

View file

@ -98,8 +98,8 @@ namespace MWMechanics
public:
typedef T Type;
DynamicStat() : mCurrent (0) {}
DynamicStat(T current) : mCurrent (current) {}
DynamicStat() : mStatic (0), mCurrent (0) {}
DynamicStat(T base) : mStatic (base), mCurrent (base) {}
DynamicStat(T base, T modified, T current) : mStatic(base, modified), mCurrent (current) {}
DynamicStat(const Stat<T> &stat, T current) : mStatic(stat), mCurrent (current) {}