summaryrefslogtreecommitdiff
path: root/Xenogears/map2sqr
diff options
context:
space:
mode:
Diffstat (limited to 'Xenogears/map2sqr')
-rwxr-xr-xXenogears/map2sqr3
1 files changed, 2 insertions, 1 deletions
diff --git a/Xenogears/map2sqr b/Xenogears/map2sqr
index 4621d54..a5739a0 100755
--- a/Xenogears/map2sqr
+++ b/Xenogears/map2sqr
@@ -22,7 +22,8 @@ NR > 4 {
print d;
d = $4;
print d;
- for (i = 5; i < NR; i++) {
+
+ for (i = 5; i <= NF; i++) {
$(i - 4) = $i;
}
NF -= 4;