Browse Source

Fix getPixel

Bart van Strien 14 years ago
parent
commit
94ec448a1b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/image/wrap_ImageData.cpp

+ 1 - 1
src/modules/image/wrap_ImageData.cpp

@@ -54,7 +54,7 @@ namespace image
 		pixel c;
 		pixel c;
 		try
 		try
 		{
 		{
-			pixel c = t->getPixel(x, y);
+			c = t->getPixel(x, y);
 		}
 		}
 		catch (love::Exception *e)
 		catch (love::Exception *e)
 		{
 		{