mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
Real fix for rollers bug.
This commit is contained in:
+3
-3
@@ -28,15 +28,15 @@
|
||||
; begin: xdraw,ydraw - end: xbyte,ybyte
|
||||
; let's store starting coordinates
|
||||
; will be needed, because everything is calculated relatively
|
||||
mwa #0 LineLength
|
||||
mwa #$ffff LineLength
|
||||
mwa xdraw xtempDRAW
|
||||
mwa ydraw ytempDRAW
|
||||
|
||||
; if line goes our of the screen we are not drawing it, but...
|
||||
|
||||
cpw xdraw #screenwidth
|
||||
cpw xdraw #screenwidth+1
|
||||
bcs DrawOutOfTheScreen
|
||||
cpw xbyte #screenwidth
|
||||
cpw xbyte #screenwidth+1
|
||||
bcs DrawOutOfTheScreen
|
||||
;cpw ydraw #screenheight
|
||||
;bcs DrawOutOfTheScreen
|
||||
|
||||
Reference in New Issue
Block a user