CScriptLayer: Make use of explicit

This commit is contained in:
Lioncash 2020-06-18 04:45:15 -04:00
parent 26f847494e
commit 363b19ebe6
1 changed files with 2 additions and 3 deletions

View File

@ -10,14 +10,13 @@
class CScriptLayer
{
CGameArea *mpArea;
TString mLayerName;
TString mLayerName{"New Layer"};
bool mActive = true;
bool mVisible = true;
std::vector<CScriptObject*> mInstances;
public:
CScriptLayer(CGameArea *pArea)
explicit CScriptLayer(CGameArea *pArea)
: mpArea(pArea)
, mLayerName("New Layer")
{
}