diff options
Diffstat (limited to 'sky')
-rw-r--r-- | sky/logic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sky/logic.cpp b/sky/logic.cpp index 46f8950a08..1abdf02414 100644 --- a/sky/logic.cpp +++ b/sky/logic.cpp @@ -1632,7 +1632,7 @@ uint32 SkyLogic::fnDecMegaSet(uint32 a, uint32 b, uint32 c) { uint32 SkyLogic::fnSetMegaSet(uint32 mega, uint32 setNo, uint32 c) { Compact *cpt = SkyState::fetchCompact(mega); - cpt->extCompact->megaSet = setNo * NEXT_MEGA_SET; + cpt->extCompact->megaSet = (uint16) (setNo * NEXT_MEGA_SET); return 1; } |