diff --git a/graph.cpp b/graph.cpp index 9c566854..fe6ec036 100644 --- a/graph.cpp +++ b/graph.cpp @@ -836,7 +836,7 @@ EX bool drawItemType(eItem it, cell *c, const shiftmatrix& V, color_t icol, int #if CAP_SHAPES auto sinptick = [c, pticks] (int period) { return c ? sintick(period) : sin(animation_factor * vid.ispeed * pticks / period);}; - auto spinptick = [c, pticks] (int period, ld phase) { return c ? spintick(period, phase) : spin((animation_factor * vid.ispeed * pticks + phase) / period); }; + auto spinptick = [c, pticks] (int period, ld phase) { return c ? spintick(period, phase) : spin((animation_factor * vid.ispeed * pticks) / period + phase * 2 * M_PI); }; int ct6 = c ? ctof(c) : 1; hpcshape *xsh = (it == itPirate || it == itKraken) ? &cgi.shPirateX :