← Back to team overview

widelands-dev team mailing list archive

[Merge] lp:~widelands-dev/widelands/bug1206563 into lp:widelands

 

cghislai has proposed merging lp:~widelands-dev/widelands/bug1206563 into lp:widelands.

Requested reviews:
  Widelands Developers (widelands-dev)
Related bugs:
  Bug #1206563 in widelands: "Error when loading savegame saved in replay"
  https://bugs.launchpad.net/widelands/+bug/1206563

For more details, see:
https://code.launchpad.net/~widelands-dev/widelands/bug1206563/+merge/177721

Quick fix for the linked bug
-- 
https://code.launchpad.net/~widelands-dev/widelands/bug1206563/+merge/177721
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/bug1206563 into lp:widelands.
=== modified file 'src/logic/queue_cmd_factory.cc'
--- src/logic/queue_cmd_factory.cc	2013-07-26 20:19:36 +0000
+++ src/logic/queue_cmd_factory.cc	2013-07-30 23:29:30 +0000
@@ -99,6 +99,8 @@
 		return *new Cmd_DismantleBuilding         ();
 	case QUEUE_CMD_EVICTWORKER:
 		return *new Cmd_EvictWorker();
+	case QUEUE_CMD_MILITARYSITESETSOLDIERPREFERENCE:
+		return *new Cmd_MilitarySiteSetSoldierPreference();
 	default:
 		throw wexception("Unknown Queue_Cmd_Id in file: %u", id);
 	}


Follow ups