aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruruk2013-07-20 11:05:21 +0200
committeruruk2013-07-20 11:05:21 +0200
commit6f20b8f5a24499cd39c55001afcf99ccc987a113 (patch)
treec83393ba85a21c8536c4bfe36c8f5c7cc4dbc10c
parent137d33414499584a61640159570768dade068883 (diff)
downloadscummvm-rg350-6f20b8f5a24499cd39c55001afcf99ccc987a113.tar.gz
scummvm-rg350-6f20b8f5a24499cd39c55001afcf99ccc987a113.tar.bz2
scummvm-rg350-6f20b8f5a24499cd39c55001afcf99ccc987a113.zip
AVALANCHE: Graph: change 'becouse' to 'because' in comments...
-rw-r--r--engines/avalanche/graph.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/avalanche/graph.cpp b/engines/avalanche/graph.cpp
index 7c9d09edc5..7748dad083 100644
--- a/engines/avalanche/graph.cpp
+++ b/engines/avalanche/graph.cpp
@@ -89,7 +89,7 @@ void Graph::drawSprite(const SpriteInfo &sprite, byte picnum, int16 x, int16 y)
delete[] mask;
}
- uint16 i = 0; // Becouse the original siltype starts at 5!!! See Graph.h for definition.
+ uint16 i = 0; // Because the original siltype starts at 5!!! See Graph.h for definition.
for (byte qay = 0; qay < sprite.yl; qay++)
for (int8 plane = 3; plane >= 0; plane--) // The planes are in the opposite way.
@@ -103,7 +103,7 @@ void Graph::drawSprite(const SpriteInfo &sprite, byte picnum, int16 x, int16 y)
}
void Graph::drawPicture(const byte *source, uint16 destX, uint16 destY) {
- // The height and the width are stored in 2-2 bytes. We have to add 1 to each becouse Pascal stores the value of them -1.
+ // The height and the width are stored in 2-2 bytes. We have to add 1 to each because Pascal stores the value of them -1.
uint16 pictureWidth = READ_LE_UINT16(source) + 1;
uint16 pictureHeight = READ_LE_UINT16(source + 2) + 1;