mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
silence missing case warnings for now
This commit is contained in:
parent
d0dc017ce3
commit
e1675c55ee
@ -15,6 +15,7 @@ bool nodisplay(eMonster m) {
|
|||||||
// returns: 2 = treasure increaser, 1 = just appears, 0 = does not appear
|
// returns: 2 = treasure increaser, 1 = just appears, 0 = does not appear
|
||||||
int isNative(eLand l, eMonster m) {
|
int isNative(eLand l, eMonster m) {
|
||||||
switch(l) {
|
switch(l) {
|
||||||
|
case laBrownian: ;
|
||||||
case laIce:
|
case laIce:
|
||||||
return (m == moWolf || m == moWolfMoved || m == moYeti) ? 2 : 0;
|
return (m == moWolf || m == moWolfMoved || m == moYeti) ? 2 : 0;
|
||||||
|
|
||||||
@ -228,6 +229,7 @@ int isNative(eLand l, eMonster m) {
|
|||||||
|
|
||||||
eItem treasureType(eLand l) {
|
eItem treasureType(eLand l) {
|
||||||
switch(l) {
|
switch(l) {
|
||||||
|
case laBrownian:
|
||||||
case laIce: return itDiamond;
|
case laIce: return itDiamond;
|
||||||
case laJungle: return itRuby;
|
case laJungle: return itRuby;
|
||||||
case laCaves: return itGold;
|
case laCaves: return itGold;
|
||||||
@ -432,6 +434,7 @@ bool landUnlocked(eLand l) {
|
|||||||
case laWildWest: case laHalloween:
|
case laWildWest: case laHalloween:
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
case laBrownian:
|
||||||
case laIce: case laJungle: case laCaves: case laDesert:
|
case laIce: case laJungle: case laCaves: case laDesert:
|
||||||
case laMotion: case laCrossroads: case laAlchemist:
|
case laMotion: case laCrossroads: case laAlchemist:
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user