This commit is contained in:
aozhiwei 2024-01-04 10:40:10 +08:00
parent cbc543c56e
commit e535767d53

View File

@ -125,11 +125,15 @@ public:
void Init(Creature* c) void Init(Creature* c)
{ {
#ifdef NEW_NUM
DefaultInit(c);
#else
if (hero_dto) { if (hero_dto) {
DtoInit(c); DtoInit(c);
} else { } else {
DefaultInit(c); DefaultInit(c);
} }
#endif
} }
private: private:
@ -341,11 +345,15 @@ public:
void Init(Creature* c) void Init(Creature* c)
{ {
#ifdef NEW_NUM
DefaultInit(c);
#else
if (weapon_dto) { if (weapon_dto) {
DtoInit(c); DtoInit(c);
} else { } else {
DefaultInit(c); DefaultInit(c);
} }
#endif
} }
private: private: