mirror of
https://github.com/jeremysrand/BuGS.git
synced 2025-04-13 02:36:59 +00:00
Fix bug in code that looks for the edge of the screen which was comparing by tile number, not tile offset.
This commit is contained in:
parent
46567659e9
commit
ab5f5c6299
@ -338,7 +338,7 @@ updateSegmentLeftSlow_checkDir anop
|
||||
lda segmentTileOffsetsUL,y
|
||||
tax
|
||||
lda tileLeft,x
|
||||
cmp #LHS_FIRST_TILE
|
||||
cmp #LHS_FIRST_TILE*SIZEOF_TILE_INFO
|
||||
bge updateSegmentLeftSlow_changeDir
|
||||
tax
|
||||
lda tileType,x
|
||||
@ -635,7 +635,7 @@ updateSegmentRightSlow_checkDir anop
|
||||
lda segmentTileOffsetsUR,y
|
||||
tax
|
||||
lda tileRight,x
|
||||
cmp #RHS_FIRST_TILE
|
||||
cmp #RHS_FIRST_TILE*SIZEOF_TILE_INFO
|
||||
bge updateSegmentRightSlow_changeDir
|
||||
tax
|
||||
lda tileType,x
|
||||
|
@ -8,7 +8,6 @@ s6d2 =
|
||||
|
||||
s7d1 = /Users/jrand/Library/Developer/Xcode/DerivedData/BuGS-bffpexoblaghkzcbtjtzxeulnuto/Build/Products/Debug/BuGS.2mg
|
||||
|
||||
g_limit_speed = 0
|
||||
|
||||
|
||||
bram1[00] = 00 00 00 01 00 00 0d 06 02 01 01 00 01 00 00 00
|
||||
|
Loading…
x
Reference in New Issue
Block a user