(WIP) Remove BaseNPC::barkerType to save space

This commit is contained in:
gsemaj 2022-04-13 14:18:54 -04:00 committed by gsemaj
parent 2f3f8a3951
commit 07fe8ca367
No known key found for this signature in database
GPG Key ID: 24B96BAA40497929
2 changed files with 1 additions and 3 deletions

View File

@ -42,7 +42,7 @@ Entity *EntityRef::getEntity() const {
sNPCAppearanceData BaseNPC::getAppearanceData() { sNPCAppearanceData BaseNPC::getAppearanceData() {
sNPCAppearanceData data = {}; sNPCAppearanceData data = {};
data.iAngle = angle; data.iAngle = angle;
data.iBarkerType = barkerType; data.iBarkerType = 0; // unused?
data.iConditionBitFlag = cbf; data.iConditionBitFlag = cbf;
data.iHP = hp; data.iHP = hp;
data.iNPCType = type; data.iNPCType = type;

View File

@ -107,7 +107,6 @@ public:
int hp; int hp;
int angle; int angle;
int cbf; int cbf;
int barkerType;
bool loopingPath = false; bool loopingPath = false;
BaseNPC(int _A, uint64_t iID, int t, int _id) { BaseNPC(int _A, uint64_t iID, int t, int _id) {
@ -115,7 +114,6 @@ public:
hp = 400; hp = 400;
angle = _A; angle = _A;
cbf = 0; cbf = 0;
barkerType = 0;
id = _id; id = _id;
instanceID = iID; instanceID = iID;
}; };