mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
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:
+7
-5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user