mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 09:47:43 +00:00
General: Make use of explicit constructors where applicable
Gets rid of potential error prone implicitly constructing constructors.
This commit is contained in:
@@ -19,7 +19,7 @@ class CGunController {
|
||||
bool x58_25_enteredComboFire : 1;
|
||||
|
||||
public:
|
||||
CGunController(CModelData& modelData) : x0_modelData(modelData) {
|
||||
explicit CGunController(CModelData& modelData) : x0_modelData(modelData) {
|
||||
x58_24_animDone = true;
|
||||
x58_25_enteredComboFire = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user