mirror of
https://github.com/freedoom/freedoom.git
synced 2025-09-02 07:25:45 -04:00
Textures contain Patch objects, not lines of text
This commit is contained in:
parent
a3dec5eaa7
commit
698b3ddd11
1 changed files with 2 additions and 1 deletions
|
@ -35,7 +35,8 @@ class HellowWorldGTK:
|
|||
if len(line) == 0 or line[0] == ";" or line[0] == "#":
|
||||
continue
|
||||
elif line[0] == "*" and current:
|
||||
current.patches.append(line)
|
||||
junk,name,y,x= line.split()
|
||||
current.patches.append(Patch(name,int(x),int(y)))
|
||||
else:
|
||||
line = line.split()
|
||||
if len(line) != 3:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue