equal
deleted
inserted
replaced
289 without being overwritten by the saved area behind the sprite. |
289 without being overwritten by the saved area behind the sprite. |
290 */ |
290 */ |
291 if (light != NULL) { |
291 if (light != NULL) { |
292 int x, y; |
292 int x, y; |
293 |
293 |
294 SDL_GetMouseState(0, &x, &y); |
294 SDL_GetMouseState(&x, &y); |
295 FlashLight(screen, light, x, y); |
295 FlashLight(screen, light, x, y); |
296 } |
296 } |
297 |
297 |
298 /* Move the sprite, bounce at the wall */ |
298 /* Move the sprite, bounce at the wall */ |
299 position.x += x_vel; |
299 position.x += x_vel; |