mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-22 13:30:06 +00:00
(WIP) Remove BaseNPC::barkerType
to save space
This commit is contained in:
parent
2f3f8a3951
commit
07fe8ca367
@ -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;
|
||||||
|
@ -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;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user