aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/gfx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/fullpipe/gfx.cpp')
-rw-r--r--engines/fullpipe/gfx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/fullpipe/gfx.cpp b/engines/fullpipe/gfx.cpp
index 31e5c219c4..8407009679 100644
--- a/engines/fullpipe/gfx.cpp
+++ b/engines/fullpipe/gfx.cpp
@@ -235,8 +235,8 @@ GameObject::GameObject(GameObject *src) {
}
Common::String GameObject::toXML() {
- return Common::String::format("id=%d name=\"%s\" x=%d y=%d priority=%d f8=%d",
- _id, transCyrillic(_objectName), _ox, _oy, _priority, _field_8);
+ return Common::String::format("id=\"%s\" name=\"%s\" x=%d y=%d priority=%d f8=%d",
+ g_fp->gameIdToStr(_id).c_str(), transCyrillic(_objectName), _ox, _oy, _priority, _field_8);
}
bool GameObject::load(MfcArchive &file) {