[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/worldobjs surface_background.cxx, 1.
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/worldobjs surface_background.cxx, 1.10, 1.11 |
Date: |
16 Aug 2003 21:04:39 -0000 |
Update of /var/lib/cvs/Games/Pingus/src/worldobjs
In directory dark:/tmp/cvs-serv24620
Modified Files:
surface_background.cxx
Log Message:
little width/height mixup
Index: surface_background.cxx
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/worldobjs/surface_background.cxx,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- surface_background.cxx 16 Aug 2003 20:51:28 -0000 1.10
+++ surface_background.cxx 16 Aug 2003 21:04:37 -0000 1.11
@@ -158,7 +158,7 @@
if (render_preview)
{
for(int y = 0; y < gc.get_height(); y += bg_surface.get_height())
- for(int x = 0; x < gc.get_width(); x += bg_surface.get_height())
+ for(int x = 0; x < gc.get_width(); x += bg_surface.get_width())
gc.draw(bg_surface, x, y, counter);
}
else
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/worldobjs surface_background.cxx, 1.10, 1.11,
grumbel <=