mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
Fix map parsing for quest format maps.
Bah, the one place a single char lex is needed :P
This commit is contained in:
parent
da6f57a23b
commit
9dc1039686
1 changed files with 3 additions and 3 deletions
|
@ -137,10 +137,10 @@ def parse_vector(script):
|
|||
return v
|
||||
|
||||
def parse_verts(script):
|
||||
if script.token != ":":
|
||||
if script.token[0] != ":":
|
||||
map_error(script, "Missing :")
|
||||
script.getToken()
|
||||
numverts = int(script.token)
|
||||
#script.getToken()
|
||||
numverts = int(script.token[1:])
|
||||
verts = []
|
||||
for i in range(numverts):
|
||||
script.tokenAvailable(True)
|
||||
|
|
Loading…
Reference in a new issue