diff options
Diffstat (limited to 'Source/Editors/mem_read_entity_description.cpp')
-rw-r--r-- | Source/Editors/mem_read_entity_description.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/Source/Editors/mem_read_entity_description.cpp b/Source/Editors/mem_read_entity_description.cpp index ced4605c..b3aae994 100644 --- a/Source/Editors/mem_read_entity_description.cpp +++ b/Source/Editors/mem_read_entity_description.cpp @@ -1,7 +1,7 @@ //----------------------------------------------------------------------------- // Name: mem_read_entity_description.cpp // Developer: Wolfire Games LLC -// Description: +// Description: // License: Read below //----------------------------------------------------------------------------- // @@ -45,17 +45,14 @@ void MemWriteItemConnectionData(const ItemConnectionData &icd, std::vector<char> memwrite(&icd.attachment_str[0], str_size, 1, mem_stream); } -void MemReadNavMeshConnectionData(NavMeshConnectionData &nmcd, const std::vector<char> &mem_stream, int &index) -{ - memread(&nmcd.other_object_id, sizeof(nmcd.other_object_id), 1, mem_stream, index); +void MemReadNavMeshConnectionData(NavMeshConnectionData &nmcd, const std::vector<char> &mem_stream, int &index) { + memread(&nmcd.other_object_id, sizeof(nmcd.other_object_id), 1, mem_stream, index); memread(&nmcd.offmesh_connection_id, sizeof(nmcd.offmesh_connection_id), 1, mem_stream, index); memread(&nmcd.poly_area, sizeof(nmcd.poly_area), 1, mem_stream, index); } -void MemWriteNavMeshConnectionData(const NavMeshConnectionData &nmcd, std::vector<char> &mem_stream) -{ +void MemWriteNavMeshConnectionData(const NavMeshConnectionData &nmcd, std::vector<char> &mem_stream) { memwrite(&nmcd.other_object_id, sizeof(nmcd.other_object_id), 1, mem_stream); memwrite(&nmcd.offmesh_connection_id, sizeof(nmcd.offmesh_connection_id), 1, mem_stream); memwrite(&nmcd.poly_area, sizeof(nmcd.poly_area), 1, mem_stream); } - |