Commits

pygame  committed a17d1bd

rect size members changed

  • Participants
  • Parent commits 83580fb

Comments (0)

Files changed (2)

 # BREAK = change breaks existing code
 # BUG   = fixed a bug that was crashing
 
+Feb 9, 2001
+	setting rectangle width/height/size changes the
+		right/bottom edges (instead of top/right) [BREAK]
+
 Feb 6, 2001
 	fixed the music unpause() function
 
 }
 static int Rect_SetWidth(GAME_Rect* r, short val)
 {
-	r->x -= val - r->w;
+//	r->x -= val - r->w;
 	r->w = val;
 	return 0;
 }
 static int Rect_SetHeight(GAME_Rect* r, short val)
 {
-	r->y -= val - r->h;
+//	r->y -= val - r->h;
 	r->h = val;
 	return 0;
 }