mirror of
https://github.com/badvision/lawless-legends.git
synced 2025-08-05 18:25:13 +00:00
Fix multi-dimensional array example.
This commit is contained in:
@@ -223,7 +223,7 @@ def hgrfill(val)
|
|||||||
|
|
||||||
for yscan = 0 to 191
|
for yscan = 0 to 191
|
||||||
for xscan = 0 to 19
|
for xscan = 0 to 19
|
||||||
hgrscan:[yscan][xscan] = val
|
hgrscan:[yscan, xscan] = val
|
||||||
next
|
next
|
||||||
next
|
next
|
||||||
end
|
end
|
||||||
@@ -235,7 +235,7 @@ def hgrfill(val)
|
|||||||
|
|
||||||
for yscan = 0 to 191
|
for yscan = 0 to 191
|
||||||
for xscan = 0 to 39
|
for xscan = 0 to 39
|
||||||
hgrscan.[yscan][xscan] = val
|
hgrscan.[yscan, xscan] = val
|
||||||
next
|
next
|
||||||
next
|
next
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user