diff options
author | Nathan Vance <nathav63@gmail.com> | 2015-03-30 21:16:17 -0400 |
---|---|---|
committer | Nathan Vance <nathav63@gmail.com> | 2015-03-30 21:16:17 -0400 |
commit | 84a9208b7f7713d9c94b23d60757051ffde586a4 (patch) | |
tree | c66d37b8519d8d11029da6e1b10112ae62bdd5e8 /special_actions.c | |
parent | Started work on special wonder actions (diff) | |
download | 7w-84a9208b7f7713d9c94b23d60757051ffde586a4.tar.gz 7w-84a9208b7f7713d9c94b23d60757051ffde586a4.tar.bz2 7w-84a9208b7f7713d9c94b23d60757051ffde586a4.zip |
Added more special actions
Diffstat (limited to 'special_actions.c')
-rw-r--r-- | special_actions.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/special_actions.c b/special_actions.c index 5b6e0ed..fa8d013 100644 --- a/special_actions.c +++ b/special_actions.c @@ -12,6 +12,7 @@ void io_printborder(int x, int y, int width); int io_getkey(); void posthelp(); int data_isai(int p); +void data_setfreebuild(int p); void Halicarnassus(int player) { @@ -85,4 +86,9 @@ void special_action(int player, int wonder, int stage) } } } + if(wonder == 7) { //Olympia + if(stage == 2) { + data_setfreebuild(player); + } + } } |