mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-16 02:15:19 +00:00
Fixed compilation which was broken by the previous commit.
This commit is contained in:
parent
9949cea50b
commit
9cc1fcf1e7
@ -586,8 +586,7 @@ static PyObject* wrapper_unit_type( wesnoth_unit* unit, PyObject* args )
|
|||||||
running_instance->set_error(MSG_UNIT);
|
running_instance->set_error(MSG_UNIT);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
wassert(unit->unit_->type());
|
return wrap_unittype(unit->unit_->type());
|
||||||
return wrap_unittype(*unit->unit_->type());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static PyObject* wrapper_unit_attacks( wesnoth_unit* unit, PyObject* args )
|
static PyObject* wrapper_unit_attacks( wesnoth_unit* unit, PyObject* args )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user