Permalink
Browse files

Fixed braino and tweaked mouse-brick-select screen in editor.

  • Loading branch information...
1 parent 5fc258f commit 8cbb5888adcdc0d57da057d8acc6cb8749969b8d @DusteDdk committed Jun 7, 2012
Showing with 2 additions and 1 deletion.
  1. BIN data/editselbrick.png
  2. +2 −1 pointer.c
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -84,7 +84,7 @@ int_fast8_t isPointerClicked()
return(0);
}
-int_fast8_t isPointerInBox( SDL_Rect& r )
+int_fast8_t isPointerInBox( SDL_Rect* r )
{
if( r->x < inpPointer.vpX && r->w > inpPointer.vpX && r->y < inpPointer.vpY && r->h > inpPointer.vpY )
{
@@ -93,6 +93,7 @@ int_fast8_t isPointerInBox( SDL_Rect& r )
inpPointer.hitABox=1;
return(1);
}
+ return(0);
}
int_fast8_t isBoxClicked( SDL_Rect* r )

0 comments on commit 8cbb588

Please sign in to comment.