aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}