Revision: 8265
http://playerstage.svn.sourceforge.net/playerstage/?rev=8265&view=rev
Author: rtv
Date: 2009-09-27 02:25:50 +0000 (Sun, 27 Sep 2009)
Log Message:
-----------
applied powerpack energy accumulator vis bug discovered at great length by Jens
Modified Paths:
--------------
code/stage/trunk/libstage/powerpack.cc
Modified: code/stage/trunk/libstage/powerpack.cc
===================================================================
--- code/stage/trunk/libstage/powerpack.cc 2009-09-26 01:28:12 UTC (rev
8264)
+++ code/stage/trunk/libstage/powerpack.cc 2009-09-27 02:25:50 UTC (rev
8265)
@@ -323,7 +323,7 @@
unsigned int iy = (y+height/2.0)/cellsize;
// don't accumulate if we're outside the grid
- if( ix < 0 || ix >= columns || iy < 0 && iy >= rows )
+ if( ix < 0 || ix >= columns || iy < 0 || iy >= rows )
return;
stg_joules_t* j = cells + (iy*columns + ix );
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit