You are not logged in.
Pages: 1
I have moved ltex from kirk to games5, and also applied this patch:
diff --git a/server/unittools.c b/server/unittools.c
index eeb5dc1..5cddfae 100644
--- a/server/unittools.c
+++ b/server/unittools.c
@@ -2693,6 +2693,12 @@ static void wakeup_neighbor_sentries(struct unit *punit)
/* on board transport; don't awaken */
&& can_unit_exist_at_tile(penemy, unit_tile(penemy))) {
set_unit_activity(penemy, ACTIVITY_IDLE);
+
+ /* enable peaceful moves */
+ if (punit->server.action_timestamp < time(NULL) - game.server.unitwaittime + 30) {
+ punit->server.action_timestamp = time(NULL) - game.server.unitwaittime + 30;
+ }
+
send_unit_info(NULL, penemy);
}
} unit_list_iterate_end;
Units woken up from sentry have unit.unitwaittime = max(unit.unitwaittime, 30 seconds)
Offline
Nothing against it, but there's one closely related demand:
I suggest you also post your client patch for diplomatic actions without popup dialog.
Offline
Pages: 1