From 2e0e9dc1f64451485532bbd5b3532b6155288f6c Mon Sep 17 00:00:00 2001 From: Marisa-Chan Date: Mon, 21 Oct 2013 16:39:40 +0700 Subject: ZVISION: Fix changelocation sscanf format string to original format. --- engines/zvision/actions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/zvision/actions.cpp b/engines/zvision/actions.cpp index 21c01546fd..4976bd4862 100644 --- a/engines/zvision/actions.cpp +++ b/engines/zvision/actions.cpp @@ -86,7 +86,7 @@ bool ActionAttenuate::execute(ZVision *engine) { ////////////////////////////////////////////////////////////////////////////// ActionChangeLocation::ActionChangeLocation(const Common::String &line) { - sscanf(line.c_str(), "%*[^(](%c,%c,%c%c,%u)", &_world, &_room, &_node, &_view, &_offset); + sscanf(line.c_str(), "%*[^(](%c, %c, %c%c, %u)", &_world, &_room, &_node, &_view, &_offset); } bool ActionChangeLocation::execute(ZVision *engine) { -- cgit v1.2.3