diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2016-02-29 08:31:49 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2016-02-29 08:31:49 -0500 |
commit | 6241707a788269e09adb957c659397750d19fda3 (patch) | |
tree | 2b72368aa1432093046cc615128bd74a4e0181e2 /src/entities.cpp | |
parent | c7f4dd960d2530b246dd0b5d04f77d5b11c65551 (diff) |
world rewrite -- fixed all world stuffs
Diffstat (limited to 'src/entities.cpp')
-rw-r--r-- | src/entities.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities.cpp b/src/entities.cpp index 6c2da81..98bba8b 100644 --- a/src/entities.cpp +++ b/src/entities.cpp @@ -564,7 +564,7 @@ void Player::save(void){ for(auto &i : inv->items) data.append(std::to_string((int)i.count) + "\n" + std::to_string((int)i.id) + "\n"); - data.append((std::string)(currentXML+4) + "\n"); + data.append((std::string)(currentXML.c_str() + 4) + "\n"); data.append("dOnE\0"); out.write(data.c_str(),data.size()); |