Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit 8cbb5888adcdc0d57da057d8acc6cb8749969b8d 1 parent 5fc258f
DusteDdk authored June 07, 2012
BIN  data/editselbrick.png
3  pointer.c
@@ -84,7 +84,7 @@ int_fast8_t isPointerClicked()
84 84
   return(0);
85 85
 }
86 86
 
87  
-int_fast8_t isPointerInBox( SDL_Rect& r )
  87
+int_fast8_t isPointerInBox( SDL_Rect* r )
88 88
 {
89 89
   if( r->x < inpPointer.vpX && r->w > inpPointer.vpX && r->y < inpPointer.vpY && r->h > inpPointer.vpY )
90 90
   {
@@ -93,6 +93,7 @@ int_fast8_t isPointerInBox( SDL_Rect& r )
93 93
     inpPointer.hitABox=1;
94 94
     return(1);
95 95
   }
  96
+  return(0);
96 97
 }
97 98
 
98 99
 int_fast8_t isBoxClicked( SDL_Rect* r )

0 notes on commit 8cbb588

Please sign in to comment.
Something went wrong with that request. Please try again.