mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-13 15:40:57 +00:00
XEEN: Fix some compiler warnings
This commit is contained in:
parent
4515d7a1ac
commit
1dbe64b2ff
@ -718,7 +718,7 @@ int ItemsDialog::calcItemCost(Character *c, int itemIndex, ItemsMode mode,
|
||||
if (i._material < 37)
|
||||
amount2 = Res.ELEMENTAL_DAMAGE[i._material] * 100;
|
||||
else if (i._material > 58)
|
||||
amount3 = Res.METAL_BASE_MULTIPLIERS[i._material - 37] * 100;
|
||||
amount3 = Res.ELEMENTAL_DAMAGE[i._material - 59 + 7] * 100;
|
||||
|
||||
switch (mode) {
|
||||
case ITEMMODE_BLACKSMITH:
|
||||
|
@ -382,10 +382,10 @@ void PartyDialog::createChar() {
|
||||
bool restartFlag = true;
|
||||
uint attribs[TOTAL_ATTRIBUTES];
|
||||
bool allowedClasses[TOTAL_CLASSES];
|
||||
Race race;
|
||||
Sex sex;
|
||||
Race race = HUMAN;
|
||||
Sex sex = MALE;
|
||||
Common::String msg;
|
||||
int charIndex;
|
||||
int charIndex = 0;
|
||||
|
||||
Mode oldMode = _vm->_mode;
|
||||
_vm->_mode = MODE_4;
|
||||
|
Loading…
x
Reference in New Issue
Block a user