aboutsummaryrefslogtreecommitdiff
path: root/special_actions.c
diff options
context:
space:
mode:
authorNathan Vance <nathav63@gmail.com>2015-03-30 21:16:17 -0400
committerNathan Vance <nathav63@gmail.com>2015-03-30 21:16:17 -0400
commit84a9208b7f7713d9c94b23d60757051ffde586a4 (patch)
treec66d37b8519d8d11029da6e1b10112ae62bdd5e8 /special_actions.c
parentStarted work on special wonder actions (diff)
download7w-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.c6
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);
+ }
+ }
}
bgstack15