diff --git a/cockatrice/src/game/game_scene.h b/cockatrice/src/game/game_scene.h index 83d2c5935..3dd53e50c 100644 --- a/cockatrice/src/game/game_scene.h +++ b/cockatrice/src/game/game_scene.h @@ -200,7 +200,7 @@ public slots: QTransform getViewTransform() const; QTransform getViewportTransform() const; - void onArrowCreateRequested(ArrowData data); + void onArrowCreateRequested(const ArrowData &data); void onArrowDeleteRequested(int arrowId); void onCardZoneChanged(CardItem *card, bool sameZone); void clearArrowsForPlayer(int playerId);