Money is most likely not the only thing making you consider a new company..
While money is always a consideration in looking at making a move, it is typically not the primary consideration. A significant advancement in possition within a new company could be extremey attractive if your current company has little room for advancement. Job security overall is also key to your consideration. If your company is laying off around you and the new company is in growth mode it may tend to reason that the new company has a better shot at stability, if even short term. Finally the culture and excitement level of an organization can either make you ignore the call from a recruiter or actually seek them out. No amount of money can address a miserable environment but a lot of professionals will consider a lateral, or even slight decrease, in order to improve their overall career satisfaction.