diff options
author | Paul Gilbert | 2012-01-20 22:56:56 +1100 |
---|---|---|
committer | Strangerke | 2012-04-06 08:20:26 +0200 |
commit | 962069f9371317b61a12e87b2618d75f98e43f91 (patch) | |
tree | 5e8105da507015d502323bc6f6e725e31423e6fc /engines/mortevielle/alert.cpp | |
parent | 6ee67ca7b7ba1e747df7c5a4be6a1051ef1a12a6 (diff) | |
download | scummvm-rg350-962069f9371317b61a12e87b2618d75f98e43f91.tar.gz scummvm-rg350-962069f9371317b61a12e87b2618d75f98e43f91.tar.bz2 scummvm-rg350-962069f9371317b61a12e87b2618d75f98e43f91.zip |
MORTEVIELLE: Fix conversion of string to integer in room changes
Diffstat (limited to 'engines/mortevielle/alert.cpp')
-rw-r--r-- | engines/mortevielle/alert.cpp | 2 |
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 = ""; |