aboutsummaryrefslogtreecommitdiff
path: root/sky
diff options
context:
space:
mode:
Diffstat (limited to 'sky')
-rw-r--r--sky/logic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sky/logic.cpp b/sky/logic.cpp
index 3009f63288..961428d533 100644
--- a/sky/logic.cpp
+++ b/sky/logic.cpp
@@ -1748,7 +1748,7 @@ uint32 SkyLogic::fnTextModule(uint32 a, uint32 b, uint32 c) {
uint32 SkyLogic::fnChangeName(uint32 id, uint32 textNo, uint32 c) {
Compact *cpt = SkyState::fetchCompact(id);
- cpt->cursorText = textNo;
+ cpt->cursorText = (uint16) textNo;
return 1;
}