fix: add check for 0 or 2+ players on a map

This commit is contained in:
mcolonna 2024-11-15 16:25:16 +01:00
parent 96cc9096cd
commit 465aacdefe
10 changed files with 115 additions and 81 deletions

View file

@ -0,0 +1,13 @@
F 255,127,0
C 0,2,67
EA textures/east.xpm
NO textures/north.xpm
SO textures/south.xpm
WE textures/west.xpm
111
111110111
1E000N0W1
111110111
101
101
111

View file

@ -0,0 +1,13 @@
F 255,127,0
C 0,2,67
EA textures/east.xpm
NO textures/north.xpm
SO textures/south.xpm
WE textures/west.xpm
111
111110111
10000N0W1
111110111
101
101
111

13
testmaps/err_noplayer.cub Normal file
View file

@ -0,0 +1,13 @@
F 255,127,0
C 0,2,67
EA textures/east.xpm
NO textures/north.xpm
SO textures/south.xpm
WE textures/west.xpm
111
111110111
100000001
111110111
101
101
111

View file

@ -0,0 +1,13 @@
F 255,127,0
C 0,2,67
EA textures/east.xpm
NO textures/north.xpm
SO textures/south.xpm
WE textures/west.xpm
111
111110111
100000001
111110111
N101
101
111