(svn r12346) -Fix [FS#1748, FS#1825](r9874, r11872): Remove duplicated and inconsistent code wrt. autoreplace with rules in both vehicles' group and ALL_GROUP.
/* $Id$ */#ifndef CMD_HELPER_H#define CMD_HELPER_H#include"direction_type.h"#include"road_type.h"template<uintN>staticinlinevoidExtractValid();template<>inlinevoidExtractValid<1>(){}template<typenameT>structExtractBits;template<>structExtractBits<Axis>{staticconstuintCount=1;};template<>structExtractBits<DiagDirection>{staticconstuintCount=2;};template<>structExtractBits<RoadBits>{staticconstuintCount=4;};template<typenameT,uintN,typenameU>staticinlineTExtract(Uv){// Check if there are enough bits in vExtractValid<N+ExtractBits<T>::Count<=sizeof(U)*8>();return(T)GB(v,N,ExtractBits<T>::Count);}#endif