summaryrefslogtreecommitdiff
path: root/src/viewport.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2010-04-12 14:12:47 +0000
committersmatz <smatz@openttd.org>2010-04-12 14:12:47 +0000
commit0ef33548c20ae9cf73a6e9e850b17137b1453dd3 (patch)
tree90774f16ecabdadb1786b8e79cf2fa7c0ddedb8f /src/viewport.cpp
parent24a60b77ece2fabd866d0a6f4e3ecda3f2d52ea2 (diff)
downloadopenttd-0ef33548c20ae9cf73a6e9e850b17137b1453dd3.tar.xz
(svn r19614) -Codechange: "it's" => "its" where appropriate
Diffstat (limited to 'src/viewport.cpp')
-rw-r--r--src/viewport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/viewport.cpp b/src/viewport.cpp
index c9b674605..8347c3e8b 100644
--- a/src/viewport.cpp
+++ b/src/viewport.cpp
@@ -673,7 +673,7 @@ void AddSortableSpriteToDraw(SpriteID image, PaletteID pal, int x, int y, int w,
}
if (_draw_bounding_boxes && (image != SPR_EMPTY_BOUNDING_BOX)) {
- /* Compute maximal extents of sprite and it's bounding box */
+ /* Compute maximal extents of sprite and its bounding box */
left = min(left , RemapCoords(x + w , y + bb_offset_y, z + bb_offset_z).x);
right = max(right , RemapCoords(x + bb_offset_x, y + h , z + bb_offset_z).x + 1);
top = min(top , RemapCoords(x + bb_offset_x, y + bb_offset_y, z + dz ).y);