Vultraz

Untitled

Jan 14th, 2015
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.26 KB | None | 0 0
  1. Expected behavior: border hexes by default (include_hexes = yes or not provided), no border hexes if include_hexes=no
  2.  
  3.     bool with_borders = true;
  4.  
  5.     if (!filter["include_borders"].empty() &&
  6.         !filter["include_borders"].to_bool()) {
  7.         with_borders = false;
  8.     }
Advertisement
Add Comment
Please, Sign In to add comment