-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello all
it was once sugested on IRC to remove Zone of control for slowed units,
because the slow ability was considered not powerfull enough
the attached patch (also #480 on savannah) implements this behaviour, so
it can be discussed with some code to look at (ok, just a line of code,
but well... :)
do you think it's a good idea
cheers
Boucman
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDZ1RLSBeC9Fa95UURAiQqAJ9bwXj0S/TKss7dLbd0J03ZcvxocQCeOnVz
SAz4YSAAKJuAWdVZnZjp3fs=
=Jiai
-----END PGP SIGNATURE-----
Index: unit.cpp
===================================================================
--- unit.cpp (révision 8689)
+++ unit.cpp (copie de travail)
@@ -499,7 +499,7 @@
bool unit::emits_zoc() const
{
- return type().has_zoc() && stone() == false;
+ return type().has_zoc() && stone() == false && !has_flag("slowed");
}
bool unit::matches_filter(const config& cfg) const