# HG changeset patch # User unc0rr # Date 1231502105 0 # Node ID 3cbf01d31e5ca822728c4d8ebc93528d49fbbf48 # Parent d590e6da04da96c880d2b081a2cd9a3b39ba522c - Fix bug when hedgehog was unable to drop some weapons from rope if it thrown rope in jump - This makes engine incompatible, so increase protocol number diff -r d590e6da04da -r 3cbf01d31e5c CMakeLists.txt --- a/CMakeLists.txt Fri Jan 09 11:28:18 2009 +0000 +++ b/CMakeLists.txt Fri Jan 09 11:55:05 2009 +0000 @@ -19,7 +19,7 @@ set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin) set(HEDGEWARS_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}") -set(HEDGEWARS_PROTO_VER 21) +set(HEDGEWARS_PROTO_VER 22) if(WITH_SERVER) set(HAVE_NETSERVER true) diff -r d590e6da04da -r 3cbf01d31e5c hedgewars/GSHandlers.inc --- a/hedgewars/GSHandlers.inc Fri Jan 09 11:28:18 2009 +0000 +++ b/hedgewars/GSHandlers.inc Fri Jan 09 11:55:05 2009 +0000 @@ -826,7 +826,7 @@ Gear^.Y:= Gear^.Y + ty; Gear^.Elasticity:= tt; Gear^.doStep:= @doStepRopeWork; - with HHGear^ do State:= State and not gstAttacking; + with HHGear^ do State:= State and not (gstAttacking or gstMoving); tt:= _0 end; tx:= tx + Gear^.dX + Gear^.dX;