Last (?) code optimization for more than 6 tanks.

This commit is contained in:
Pecusx
2023-05-15 23:54:40 +02:00
parent d54d630b4d
commit 824d635e88
+3 -6
View File
@@ -201,12 +201,9 @@ bittable2
;----------------------------
disktance ;tanks distance
.by 0,0
.by screenwidth/3
.by screenwidth/4
.by screenwidth/5
.by screenwidth/6
.by screenwidth/7
;max number of players=6 :)
.REPT MaxPlayers-1, #+3
.by screenwidth/:1
.ENDR
; this table is for deciding where a tank should slide
; accordingly to what is below the tank