Basic relay link connection

This commit is contained in:
KimLS committed 2016-10-11 21:34:26 -07:00
1 parent 7a3147a3b3
commit 4ba0aa8e7f
360 files changed
+87742 -47

No files matched your search

+1 -1
View File
@@ -255,7 +255,7 @@ std::string EQ::Net::Packet::GetString(size_t offset, size_t length) const
throw std::out_of_range("Packet read out of range.");
}
return std::string((char*)Data(), (char*)Data() + length);
return std::string((char*)Data() + offset, (char*)Data() + offset + length);
}
std::string EQ::Net::Packet::GetCString(size_t offset) const