summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-03-19 22:52:37 +0000
committerfrosch <frosch@openttd.org>2012-03-19 22:52:37 +0000
commit2007f7affdd38a6ef5c7482f99e8d0d831a8bfee (patch)
tree9e212bef8e0346b15df928be5d64ccc434ee8c80
parentee03cda8585fa36ae8f69feae564eef15fd04727 (diff)
downloadopenttd-2007f7affdd38a6ef5c7482f99e8d0d831a8bfee.tar.xz
(svn r24051) -Fix: Comment.
-rw-r--r--src/newgrf.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index c0f59b92e..b065216e3 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -6969,7 +6969,7 @@ static void GRFSound(ByteReader *buf)
LoadGRFSound(offs);
}
}
- FioSkipBytes(len - 1); // <type> is not included in the length for pseudo-sprites.
+ FioSkipBytes(len - 1); // already read <action>
break;
case 0xFE:
@@ -6979,13 +6979,13 @@ static void GRFSound(ByteReader *buf)
if (FioReadByte() != 0) grfmsg(1, "GRFSound: Import type mismatch");
ImportGRFSound();
} else {
- FioSkipBytes(len - 1);
+ FioSkipBytes(len - 1); // already read <action>
}
break;
default:
grfmsg(1, "GRFSound: Unexpected Action %x found, skipping", action);
- FioSkipBytes(len - 1);
+ FioSkipBytes(len - 1); // already read <action>
break;
}
}