diff --git a/language.version b/language.version index 047ca00cd..a5ccfd308 100644 --- a/language.version +++ b/language.version @@ -1,3 +1,3 @@ [default] -SWWM_MODVER="\chSWWM \czGZ\c- \cw1.2pre r9 \cu(Tue 5 Oct 19:37:23 CEST 2021)\c-"; -SWWM_SHORTVER="\cw1.2pre r9 \cu(2021-10-05 19:37:23)\c-"; +SWWM_MODVER="\chSWWM \czGZ\c- \cw1.2pre r10 \cu(Tue 5 Oct 19:40:58 CEST 2021)\c-"; +SWWM_SHORTVER="\cw1.2pre r10 \cu(2021-10-05 19:40:58)\c-"; diff --git a/zscript/swwm_Polyobjects/PolyobjectHandle.zs b/zscript/swwm_Polyobjects/PolyobjectHandle.zs index 23383f231..f67d92f45 100644 --- a/zscript/swwm_Polyobjects/PolyobjectHandle.zs +++ b/zscript/swwm_Polyobjects/PolyobjectHandle.zs @@ -325,7 +325,7 @@ class swwm_PolyobjectHandle: Thinker Level.ExecuteSpecial(Polyobj_Stop, activator, StartLine, Line.Front, PolyobjectNum); // Move the polyobject Level.ExecuteSpecial(Polyobj_OR_MoveTo, activator, StartLine, Line.Front, PolyobjectNum, - Speed, dest.x, dest.y); + Speed, int(dest.x), int(dest.y)); // Polyobj_OR_MoveTo ignores the sound sequence set by the polyobject. // Play the sound sequence manually inside the sector containing the polyobject.