CSaveWorld: Make constructor explicit

Prevents error-prone implicit constructions from occurring.
This commit is contained in:
Lioncash 2020-03-25 20:42:19 -04:00
parent 98b9556f3e
commit 3c17336fb0
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ private:
std::vector<SScanState> x44_scans;
public:
CSaveWorld(CInputStream& in);
explicit CSaveWorld(CInputStream& in);
u32 GetAreaCount() const;
u32 GetCinematicCount() const;
s32 GetCinematicIndex(const TEditorId& id) const;