diff options
author | Nathan Vance <nathav63@gmail.com> | 2015-04-21 15:12:21 -0400 |
---|---|---|
committer | Nathan Vance <nathav63@gmail.com> | 2015-04-21 15:12:21 -0400 |
commit | 310d54db9cc665ee3a6d015ff7cfa23ebe9f4d83 (patch) | |
tree | b13e2368da08464945b0d201a769222b544faf14 /data.c | |
parent | UI bug fixes (diff) | |
download | 7w-310d54db9cc665ee3a6d015ff7cfa23ebe9f4d83.tar.gz 7w-310d54db9cc665ee3a6d015ff7cfa23ebe9f4d83.tar.bz2 7w-310d54db9cc665ee3a6d015ff7cfa23ebe9f4d83.zip |
Bug fixes
Diffstat (limited to 'data.c')
-rw-r--r-- | data.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -86,7 +86,7 @@ void data_distributewonders() for(i = 0; i < numplayers; i++) { player[i][3][0] = wonders[i]; player[i][3][1] = rand()%2; - player[0][3][0] = 6; //delete these lines later + player[0][3][0] = 8; //delete these lines later player[0][3][1] = 1; //this one too! } } @@ -152,6 +152,9 @@ void data_endturn() data_flushbuffers(); } else data_discard((i+numplayers-turn)%numplayers, hands[i][0]); } + for(i = 0; i < numplayers; i++) { + special_action(i, data_getwonder(i), data_getwonderside(i)*3+data_getwonderstages(i)); + } data_nextera(); return; } |