1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-12-01 23:12:49 +02:00

* minor fixes for revision 2193 (no shooting penalty bonus wasn't needed indeed but was poorly removed)

* minor changes
This commit is contained in:
mateuszb
2011-06-22 12:44:28 +00:00
parent d2d5930b64
commit c71127809e
7 changed files with 49 additions and 11 deletions

View File

@@ -37,13 +37,6 @@ namespace phoenix = boost::phoenix;
//actually these macros help in dealing with boost::variant
#define BEGIN_TYPE_CASE(LinePrinterVisitor) struct LinePrinterVisitor : boost::static_visitor<> \
{
#define FOR_TYPE(TYPE, VAR) void operator()(TYPE const& VAR) const
#define DO_TYPE_CASE(LinePrinterVisitor, VAR) } ___UN; boost::apply_visitor(___UN, VAR);
CERMPreprocessor::CERMPreprocessor(const std::string &Fname) : fname(Fname), file(Fname.c_str()), lineNo(0), version(INVALID)
{
if(!file.is_open())