Small bugfix and optymalisation

Bugfix in drawnountains (now ground 0 is possible: ) )
Otymized flight proc - explosions no wrap around screen - why? :)
This commit is contained in:
Pecusx
2022-05-18 20:00:27 +02:00
parent 68bf4a9541
commit 620bcf5aa8
4 changed files with 14 additions and 9 deletions
+7 -5
View File
@@ -1816,17 +1816,19 @@ NoUnPlot
Hit
mwa XHit xdraw
mwa YHit ydraw
mva YHit ydraw ; one byte now
jsr unPlot
EndOfFlight
mwa xdraw xcircle ; we must store for a little while
mva ydraw ycircle ; xdraw and ydraw
; mwa xdraw xcircle ; we must store for a little while
; mva ydraw ycircle ; xdraw and ydraw .... but this values are in YHit and XHit !!!
mwa #0 xdraw
mva #screenheight-1 ydraw
jsr unPlot
mwa xcircle xdraw
mva ycircle ydraw
; mwa xcircle xdraw
; mva ycircle ydraw
mwa XHit xdraw
mva YHit ydraw
ldy SmokeTracerFlag
beq EndOfFlight2