Fix missing switch cases
This commit is contained in:
parent
a0009b0ff8
commit
4f791948ff
2 changed files with 7 additions and 0 deletions
|
|
@ -4645,6 +4645,8 @@ void SpawnBoy(int lvl)
|
|||
ivalue = mostValuablePlayerItem == nullptr ? 0 : mostValuablePlayerItem->_iIvalue;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
app_fatal("Invalid item spawn");
|
||||
}
|
||||
ivalue = ivalue * 4 / 5; // avoids forced int > float > int conversion
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue