Skip to content

Commit 2667acf

Browse files
committed
add covering default case in Tile::AssembleTile
temporary - replace with case flow_type::NONE after DFHack/df-structures#872 is merged
1 parent e86849a commit 2667acf

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

GraphicsWrapper.cpp

Whitespace-only changes.

Tile.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,9 @@ void Tile::AssembleTile( void )
678678
case df::flow_type::ItemCloud:
679679
// TODO
680680
break;
681-
681+
default:
682+
assert("Unhandled flow type" && false); // FIXME temporary - replace with NONE case after structures are updated
683+
break;
682684
}
683685
}
684686

0 commit comments

Comments
 (0)