aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Kagerer2009-05-30 20:40:48 +0000
committerFlorian Kagerer2009-05-30 20:40:48 +0000
commit84473eaf1bd66ecd51e6e08a2ae7064b0b212dac (patch)
treeec6b8873dbe47d05c6ef1ef755a10ffebf9e3885
parent70a04c8b51af66fcc30b5b22fad224d0f145a484 (diff)
downloadscummvm-rg350-84473eaf1bd66ecd51e6e08a2ae7064b0b212dac.tar.gz
scummvm-rg350-84473eaf1bd66ecd51e6e08a2ae7064b0b212dac.tar.bz2
scummvm-rg350-84473eaf1bd66ecd51e6e08a2ae7064b0b212dac.zip
LOL: minor bug fix
svn-id: r41046
-rw-r--r--engines/kyra/script_lol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/script_lol.cpp b/engines/kyra/script_lol.cpp
index 531626d44c..f854bbafce 100644
--- a/engines/kyra/script_lol.cpp
+++ b/engines/kyra/script_lol.cpp
@@ -338,7 +338,7 @@ int LoLEngine::olol_getItemPara(EMCState *script) {
case 16:
return p->flags;
case 17:
- return (p->skill << 8) | p->might;
+ return (p->skill << 8) | ((uint8)p->might);
default:
break;
}