aboutsummaryrefslogtreecommitdiff
path: root/trade.c
diff options
context:
space:
mode:
authorNathan Vance <nathav63@gmail.com>2015-03-12 22:23:08 -0400
committerNathan Vance <nathav63@gmail.com>2015-03-12 22:23:08 -0400
commit9dd5bd8c4f57143c365088ba2e964f339189f781 (patch)
tree1678c5bf126cb7ecaf35a6c4a9fdcc32dd745663 /trade.c
parentNow cannot buy two of the same card (diff)
download7w-9dd5bd8c4f57143c365088ba2e964f339189f781.tar.gz
7w-9dd5bd8c4f57143c365088ba2e964f339189f781.tar.bz2
7w-9dd5bd8c4f57143c365088ba2e964f339189f781.zip
Fixed bug causing trade to print incorrectly
Diffstat (limited to 'trade.c')
-rw-r--r--trade.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/trade.c b/trade.c
index f5d8d60..4bfb625 100644
--- a/trade.c
+++ b/trade.c
@@ -16,7 +16,6 @@ int io_printtext(int xorigin, int y, int width, char* text);
void io_printplain(int x, int y, char *s);
void io_printcolor(int x, int y, int color, char *s);
char* getname(int res);
-int view_refresh(int focus, int cursor, int player);
char* itoa(int i);
static int tradebuffer[3][GOLD+1];
@@ -85,7 +84,6 @@ int* trade_gettradables(int player, int direction)
void trade_print(int x, int y, int player, int cursorx, int cursory)
{
- view_refresh(data_numplayers(), data_numcards(player), player);
char s[40];
int *east = trade_gettradables(player, 0);
int *west = trade_gettradables(player, 1);
bgstack15