Skip to content

Commit 7655fdb

Browse files
committed
dolphin deed change applied
1 parent ed212ce commit 7655fdb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

solitaire.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ void tick(GameState *game_state, NotificationApp *notification) {
247247
if (game_state->top_cards[0].character == 11 && game_state->top_cards[1].character == 11 &&
248248
game_state->top_cards[2].character == 11 && game_state->top_cards[3].character == 11) {
249249
game_state->state = GameStateAnimate;
250-
DOLPHIN_DEED(DolphinDeedPluginGameWin);
250+
dolphin_deed(DolphinDeedPluginGameWin);
251251

252252
return;
253253
}
@@ -256,7 +256,7 @@ void tick(GameState *game_state, NotificationApp *notification) {
256256
if (game_state->state == GameStatePlay) {
257257
if (game_state->longPress && game_state->dragging_hand.index == 1) {
258258
for (uint8_t i = 0; i < 4; i++) {
259-
if (place_on_top(&(game_state->top_cards[i]), game_state->dragging_hand.cards[0])) {
259+
if (place_on_top(&(game_state->top_car0ds[i]), game_state->dragging_hand.cards[0])) {
260260
remove_drag(game_state);
261261
wasAction = true;
262262
break;
@@ -383,7 +383,7 @@ void tick(GameState *game_state, NotificationApp *notification) {
383383
}
384384

385385
void init(GameState *game_state) {
386-
DOLPHIN_DEED(DolphinDeedPluginGameStart);
386+
dolphin_deed(DolphinDeedPluginGameStart);
387387
game_state->selectColumn = 0;
388388
game_state->selected_card = 0;
389389
game_state->selectRow = 0;

0 commit comments

Comments
 (0)