Author: sveinung
Date: Thu Jan 29 18:22:28 2015
New Revision: 27894

URL: http://svn.gna.org/viewcvs/freeciv?rev=27894&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:
    branches/S2_6/server/unithand.c

Modified: branches/S2_6/server/unithand.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/server/unithand.c?rev=27894&r1=27893&r2=27894&view=diff
==============================================================================
--- branches/S2_6/server/unithand.c     (original)
+++ branches/S2_6/server/unithand.c     Thu Jan 29 18:22:28 2015
@@ -2863,9 +2863,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