Resolve some issues that the compiler doesn't spot

This commit is contained in:
Mark van Alphen
2019-03-29 16:21:15 +01:00
parent d1fc85fdf3
commit b8e840c094
16 changed files with 48 additions and 74 deletions
-1
View File
@@ -43,7 +43,6 @@ GLOBAL_LIST_EMPTY(safes)
tumbler_2_open = rand(0, 99)
tumbler_1_pos = rand(0, 99)
do
tumbler_1_open = rand(0, 99)
while(tumbler_1_open > Wrap(tumbler_2_open +48, 0, 100) && tumbler_1_open < Wrap(tumbler_2_open + 53, 0, 100)) // prevents a combination that wont open
do