use initializer list and make functions const

This commit is contained in:
swekka
2025-09-07 22:48:45 +02:00
parent bccb9ad048
commit 8c2f90ba77
2 changed files with 7 additions and 9 deletions
+3 -5
View File
@@ -6,9 +6,7 @@
class dAcOclearnessWall_c : public dAcObjBase_c {
public:
dAcOclearnessWall_c() {
field_0x543 = 1;
}
dAcOclearnessWall_c(): field_0x543(true) {}
virtual ~dAcOclearnessWall_c() {}
virtual bool createHeap() override;
@@ -18,8 +16,8 @@ public:
virtual int draw() override;
private:
char *getArcName();
char *getModelName();
const char *getArcName();
const char *getModelName();
/* 0x330 */ dBgW mBgW;
/* 0x540 */ u8 mSceneflag;