From ad049a15b43b7ddba3fe7d0a898652fc8022629d Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Tue, 22 Apr 2014 11:46:23 -0700 Subject: Use strict ID types Possibly some missing for the far side of the network. AccountId and BlockId are still terribly entangled. --- src/map/trade.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/trade.hpp') diff --git a/src/map/trade.hpp b/src/map/trade.hpp index dc81c54..da0d2b2 100644 --- a/src/map/trade.hpp +++ b/src/map/trade.hpp @@ -21,11 +21,11 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -# include "../sanity.hpp" +# include "fwd.hpp" # include "map.hpp" -void trade_traderequest(dumb_ptr sd, int target_id); +void trade_traderequest(dumb_ptr sd, BlockId target_id); void trade_tradeack(dumb_ptr sd, int type); void trade_tradeadditem(dumb_ptr sd, int index, int amount); void trade_tradeok(dumb_ptr sd); -- cgit v1.2.3-60-g2f50