Post done fixes

This commit is contained in:
Andrew nuark G 2020-12-23 19:21:23 +07:00
parent 2be2e9f5e3
commit 0dab9e1eb2
2 changed files with 5 additions and 8 deletions

View file

@ -66,11 +66,11 @@ bool object_system::remove_vessel(entity_id oid) {
return false;
}
bool object_system::add_vessel(vessel_entity dpoint) {
bool object_system::add_vessel(vessel_entity vessel) {
bool exists = false;
this->get_dpoint(dpoint.id(), exists);
this->get_vessel(vessel.id(), exists);
if (!exists) {
this->_vessels.push_back(dpoint);
this->_vessels.push_back(vessel);
return true;
}