diff options
Diffstat (limited to 'engines/sci/graphics/plane32.cpp')
-rw-r--r-- | engines/sci/graphics/plane32.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/sci/graphics/plane32.cpp b/engines/sci/graphics/plane32.cpp index a8724dee67..0a69ab2a98 100644 --- a/engines/sci/graphics/plane32.cpp +++ b/engines/sci/graphics/plane32.cpp @@ -149,8 +149,7 @@ void Plane::convertGameRectToPlaneRect() { } void Plane::printDebugInfo(Console *con) const { - Common::String name; - + const char *name; if (_object.isNumber()) { name = "-scummvm-"; } else { @@ -159,7 +158,7 @@ void Plane::printDebugInfo(Console *con) const { con->debugPrintf("%04x:%04x (%s): type %d, prio %d, ins %u, pic %d, mirror %d, back %d\n", PRINT_REG(_object), - name.c_str(), + name, _type, _priority, _creationId, |