diff options
Diffstat (limited to 'sword2/layers.cpp')
-rw-r--r-- | sword2/layers.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sword2/layers.cpp b/sword2/layers.cpp index ad2cc47d4a..b5070e7b32 100644 --- a/sword2/layers.cpp +++ b/sword2/layers.cpp @@ -50,10 +50,11 @@ int32 Logic::fnInitBackground(int32 *params) { */ int32 Sword2Engine::initBackground(int32 res, int32 new_palette) { + byte buf[NAME_LEN]; int i; assert(res); - debug(1, "CHANGED TO LOCATION \"%s\"", fetchObjectName(res)); + debug(1, "CHANGED TO LOCATION \"%s\"", fetchObjectName(res, buf)); // The resources age every time a new room is entered. _resman->passTime(); |