aboutsummaryrefslogtreecommitdiff
path: root/engines/mortevielle/alert.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mortevielle/alert.cpp')
-rw-r--r--engines/mortevielle/alert.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/mortevielle/alert.cpp b/engines/mortevielle/alert.cpp
index c088502284..4ba287dcde 100644
--- a/engines/mortevielle/alert.cpp
+++ b/engines/mortevielle/alert.cpp
@@ -29,6 +29,7 @@
#include "mortevielle/alert.h"
#include "mortevielle/level15.h"
#include "mortevielle/mouse.h"
+#include "mortevielle/sprint.h"
namespace Mortevielle {
@@ -48,7 +49,10 @@ static void decod(Common::String s, int &nbc, int &nbl, int &col, Common::String
int i, k;
bool v;
- val(s[2], nbc, i);
+ //val(s[2], nbc, i);
+ sscanf(s.c_str() + 1, "%d", nbc);
+ i = 0;
+
c = "";
nbl = 0;
i = 5;
@@ -102,7 +106,7 @@ static void fait_boite(int lidep, int nli, int tx) {
-static void fait_choix(Common::String c, int &coldep, int &nbcase, Common::String *&str, int &esp) {
+static void fait_choix(Common::String c, int &coldep, int &nbcase, Common::String[3] &str, int &esp) {
int i, l, x;
char ch;