Fixed some warnings

master
Julian Laubstein 2014-05-19 10:37:43 +02:00
parent 40ce737a7e
commit cfbb256360
2 changed files with 13 additions and 2 deletions

View File

@ -225,6 +225,7 @@ template <typename Type> class cItemCallback
public:
/// Called for each item in the internal list; return true to stop the loop, or false to continue enumerating
virtual bool Item(Type * a_Type) = 0;
virtual ~cItemCallback();
} ;

View File

@ -202,8 +202,13 @@ private:
case E_BLOCK_POWERED_RAIL:
{
return true;
break;
}
default:
{
return false;
break;
}
default: return false;
}
}
@ -275,8 +280,13 @@ private:
case E_BLOCK_PISTON:
{
return true;
break;
}
default:
{
return false;
break;
}
default: return false;
}
}
};