mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 19:19:56 +00:00
Merge remote-tracking branch 'cc9cii/master'
This commit is contained in:
commit
bb011f278e
3 changed files with 5 additions and 5 deletions
|
@ -387,7 +387,7 @@ std::string magicEffectLabel(int idx)
|
|||
"sEffectSummonCreature04",
|
||||
"sEffectSummonCreature05"
|
||||
};
|
||||
if (idx >= 0 && idx <= 143)
|
||||
if (idx >= 0 && idx <= 142)
|
||||
return magicEffectLabels[idx];
|
||||
else
|
||||
return "Invalid";
|
||||
|
@ -471,7 +471,7 @@ std::string skillLabel(int idx)
|
|||
"Speechcraft",
|
||||
"Hand-to-hand"
|
||||
};
|
||||
if (idx >= 0 && idx <= 27)
|
||||
if (idx >= 0 && idx <= 26)
|
||||
return skillLabels[idx];
|
||||
else
|
||||
return "Invalid";
|
||||
|
@ -498,7 +498,7 @@ std::string rangeTypeLabel(int idx)
|
|||
"Touch",
|
||||
"Target"
|
||||
};
|
||||
if (idx >= 0 && idx <= 3)
|
||||
if (idx >= 0 && idx <= 2)
|
||||
return rangeTypeLabels[idx];
|
||||
else
|
||||
return "Invalid";
|
||||
|
|
|
@ -98,7 +98,7 @@ namespace Compiler
|
|||
else if (t1=='f' || t2=='f')
|
||||
mOperands.push_back ('f');
|
||||
else
|
||||
std::logic_error ("failed to determine result operand type");
|
||||
throw std::logic_error ("failed to determine result operand type");
|
||||
}
|
||||
|
||||
void ExprParser::pop()
|
||||
|
|
2
extern/shiny/Main/Factory.hpp
vendored
2
extern/shiny/Main/Factory.hpp
vendored
|
@ -206,7 +206,7 @@ namespace sh
|
|||
|
||||
std::string getCacheFolder () { return mPlatform->getCacheFolder (); }
|
||||
bool getReadSourceCache() { return mReadSourceCache; }
|
||||
bool getWriteSourceCache() { return mReadSourceCache; }
|
||||
bool getWriteSourceCache() { return mWriteSourceCache; }
|
||||
public:
|
||||
bool getWriteMicrocodeCache() { return mWriteMicrocodeCache; } // Fixme
|
||||
|
||||
|
|
Loading…
Reference in a new issue