mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-14 02:27:21 -07:00
Ship::BinaryReader::ReadString: Fix endian issue
This commit is contained in:
parent
67e98d43b7
commit
32672e58e7
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ Color3b Ship::BinaryReader::ReadColor3b()
|
|||
std::string Ship::BinaryReader::ReadString()
|
||||
{
|
||||
std::string res;
|
||||
int numChars = reader->ReadInt32();
|
||||
int numChars = ReadInt32();
|
||||
for (int i = 0; i < numChars; i++) {
|
||||
res += reader->ReadChar();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue