Fix incorrect Speed value in ESM::MagicEffect (thanks Hrnchamd)

deque
scrawl 10 years ago
parent b4fbaf1169
commit 44642ae21b

@ -950,9 +950,9 @@ void Record<ESM::MagicEffect>::print()
std::cout << " School: " << schoolLabel(mData.mData.mSchool)
<< " (" << mData.mData.mSchool << ")" << std::endl;
std::cout << " Base Cost: " << mData.mData.mBaseCost << std::endl;
std::cout << " Unknown 1: " << mData.mData.mUnknown1 << std::endl;
std::cout << " Speed: " << mData.mData.mSpeed << std::endl;
std::cout << " Size: " << mData.mData.mSize << std::endl;
std::cout << " Size Cap: " << mData.mData.mSizeCap << std::endl;
std::cout << " Unknown 2: " << mData.mData.mUnknown2 << std::endl;
std::cout << " RGB Color: " << "("
<< mData.mData.mRed << ","
<< mData.mData.mGreen << ","

@ -54,8 +54,10 @@ struct MagicEffect
int mFlags;
// Glow color for enchanted items with this effect
int mRed, mGreen, mBlue;
// Properties of the fired magic 'ball'
float mSpeed, mSize, mSizeCap;
float mUnknown1;
float mSpeed; // Speed of fired projectile
float mUnknown2;
}; // 36 bytes
static const std::map<short,std::string> sNames;

Loading…
Cancel
Save