Fix missing switch cases
This commit is contained in:
parent
a0009b0ff8
commit
4f791948ff
2 changed files with 7 additions and 0 deletions
|
|
@ -829,6 +829,11 @@ bool GetDebugGridText(Point dungeonCoords, char *debugGridTextBuffer)
|
|||
case DebugGridTextItem::dSpecial:
|
||||
info = dSpecial[dungeonCoords.x][dungeonCoords.y];
|
||||
break;
|
||||
case DebugGridTextItem::dObject:
|
||||
info = dObject[dungeonCoords.x][dungeonCoords.y];
|
||||
break;
|
||||
case DebugGridTextItem::None:
|
||||
return false;
|
||||
}
|
||||
if (info == 0)
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue