Post done fixes
This commit is contained in:
parent
2be2e9f5e3
commit
0dab9e1eb2
2 changed files with 5 additions and 8 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue