1
This commit is contained in:
parent
6805da5bd2
commit
b9dd8cef53
@ -1508,7 +1508,6 @@ void Creature::CheckSpecObject()
|
|||||||
|
|
||||||
void Creature::SummonObstacle(Buff* buff, int id, const a8::Vec2& pos)
|
void Creature::SummonObstacle(Buff* buff, int id, const a8::Vec2& pos)
|
||||||
{
|
{
|
||||||
buff->meta->int_param2 = 2;
|
|
||||||
if (buff->meta->int_param2 > 0) {
|
if (buff->meta->int_param2 > 0) {
|
||||||
RemoveSurplusObstacle(buff->meta->i->buff_id(), id, buff->meta->int_param2);
|
RemoveSurplusObstacle(buff->meta->i->buff_id(), id, buff->meta->int_param2);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user