From fdf1d34fdc53bb28625669ead2b812f6dcb47337 Mon Sep 17 00:00:00 2001 From: Matheus Macabu Date: Sat, 18 May 2013 18:17:38 -0300 Subject: Some type conversion warnings fixed. If this breaks anything create a bug report ASAP and I will revert it gladly. Signed-off-by: Matheus Macabu --- src/map/searchstore.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/map') diff --git a/src/map/searchstore.c b/src/map/searchstore.c index 7e1ee3e84..a9e82f847 100644 --- a/src/map/searchstore.c +++ b/src/map/searchstore.c @@ -150,7 +150,9 @@ void searchstore_query(struct map_session_data* sd, unsigned char type, unsigned } if( max_price < min_price ) { - swap(min_price, max_price); + __asm xor min_price, max_price + __asm xor max_price, min_price + __asm xor min_price, max_price } sd->searchstore.uses--; -- cgit v1.2.3-70-g09d2