mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-16 10:20:30 +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);
|
||||
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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user