Author: sveinung
Date: Thu Jan 29 18:01:41 2015
New Revision: 27893

URL: http://svn.gna.org/viewcvs/freeciv?rev=27893&view=rev
Log:
Server: Don't accept a unit order packet with a compatibility activity.

The activities ACTIVITY_FORTRESS and ACTIVITY_AIRBASE aren't supposed to be
sent from clients.

See patch #5765

Modified:
    trunk/server/unithand.c

Modified: trunk/server/unithand.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/unithand.c?rev=27893&r1=27892&r2=27893&view=diff
==============================================================================
--- trunk/server/unithand.c     (original)
+++ trunk/server/unithand.c     Thu Jan 29 18:01:41 2015
@@ -2912,9 +2912,7 @@
       case ACTIVITY_POLLUTION:
       case ACTIVITY_MINE:
       case ACTIVITY_IRRIGATE:
-      case ACTIVITY_FORTRESS:
       case ACTIVITY_TRANSFORM:
-      case ACTIVITY_AIRBASE:
        /* Simple activities. */
        break;
       case ACTIVITY_SENTRY:


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to