1
This commit is contained in:
parent
bf9f93cf6c
commit
795c24e37b
@ -1508,8 +1508,10 @@ void Creature::CheckSpecObject(int new_poly_flags)
|
|||||||
if ((1 << i) == SAMPLE_POLYFLAGS_GLASS) {
|
if ((1 << i) == SAMPLE_POLYFLAGS_GLASS) {
|
||||||
if (a8::HasBitFlag(poly_ext_flags_, i)) {
|
if (a8::HasBitFlag(poly_ext_flags_, i)) {
|
||||||
RemoveBuffById(8058);
|
RemoveBuffById(8058);
|
||||||
|
RemoveBuffById(kInGrassBuffId);
|
||||||
} else {
|
} else {
|
||||||
TryAddBuffAndSetTime(this, 8058, 9999999);
|
TryAddBuffAndSetTime(this, 8058, 9999999);
|
||||||
|
TryAddBuffAndSetTime(this, kInGrassBuffId, 9999999);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user