Skip to content

Commit

Permalink
Adjusted death vibration
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Stürz <[email protected]>
  • Loading branch information
realchonk committed Sep 7, 2022
1 parent cd440ab commit 4067e39
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/tile.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <stdio.h>
#include "video.h"
#include "tile.h"
Expand Down Expand Up @@ -151,11 +150,7 @@ tile_click (struct tile *t, int which)
game_over = true;
end_time = time (NULL);
if (haptic) {
SDL_HapticRumblePlay (haptic, 1.0f, 100);
usleep (300);
SDL_HapticRumblePlay (haptic, 1.0f, 100);
usleep (200);
SDL_HapticRumblePlay (haptic, 1.0f, 200);
SDL_HapticRumblePlay (haptic, 0.3f, 500);
}
} else {
expand_tile (t, true);
Expand Down

0 comments on commit 4067e39

Please sign in to comment.