aboutsummaryrefslogtreecommitdiff
path: root/engines/mortevielle
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mortevielle')
-rw-r--r--engines/mortevielle/alert.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mortevielle/alert.cpp b/engines/mortevielle/alert.cpp
index 804e0f41f0..36170361c3 100644
--- a/engines/mortevielle/alert.cpp
+++ b/engines/mortevielle/alert.cpp
@@ -50,7 +50,7 @@ static void decod(Common::String s, int &nbc, int &nbl, int &col, Common::String
bool v;
//val(s[2], nbc, i);
- sscanf(s.c_str() + 1, "%d", nbc);
+ nbc = atoi(s.c_str() + 1);
i = 0;
c = "";