mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
wrong array range
This commit is contained in:
+2
-2
@@ -619,8 +619,8 @@ PlayerXdeath .proc
|
||||
|
||||
MetodOfDeath
|
||||
lda random
|
||||
and #%00011111 ; range 0-31 (reduced to 0 - 15 - why??? )
|
||||
cmp #19 ; we have 19 weapons in table
|
||||
and #%00011111 ; range 0-31
|
||||
cmp #20 ; we have 20 weapons in table (from 0 to 19)
|
||||
bcs MetodOfDeath
|
||||
tay
|
||||
lda weaponsOfDeath,y
|
||||
|
||||
Reference in New Issue
Block a user