From aafccb7412077b6b663bd9f490fe72937b8e2795 Mon Sep 17 00:00:00 2001 From: PatrikLundell Date: Thu, 9 May 2024 20:39:52 +0200 Subject: [PATCH] addressing complaints --- src/animation.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/animation.cpp b/src/animation.cpp index 298543ebad7eb..609a85341f70f 100644 --- a/src/animation.cpp +++ b/src/animation.cpp @@ -559,7 +559,8 @@ void game::draw_bullet( const tripoint_bub_ms &t, const int i, void game::draw_bullet( const tripoint &t, const int i, const std::vector &trajectory, const char bullet ) { - draw_bullet_curses( m, tripoint_bub_ms( t ), bullet, tripoint_bub_ms( trajectory[i] ) ); + const tripoint_bub_ms temp = tripoint_bub_ms( trajectory[i] ); + draw_bullet_curses( m, tripoint_bub_ms( t ), bullet, &temp ) ); } #endif