hedgewars/uAmmos.pas
changeset 4141 2bd5ecf7b4fb
parent 4102 96efb3bbf8e3
child 4143 eb7981f34800
--- a/hedgewars/uAmmos.pas	Fri Nov 05 18:56:12 2010 -0400
+++ b/hedgewars/uAmmos.pas	Fri Nov 05 19:07:17 2010 -0400
@@ -98,7 +98,7 @@
 TryDo((byte(ammoLoadout[0]) = byte(ord(High(TAmmoType)))) and (byte(ammoProbability[0]) = byte(ord(High(TAmmoType)))) and (byte(ammoDelay[0]) = byte(ord(High(TAmmoType)))) and (byte(ammoReinforcement[0]) = byte(ord(High(TAmmoType)))), 'Incomplete or missing ammo scheme set (incompatible frontend or demo/save?)', true);
 
 // FIXME - TEMPORARY hardcoded check on shoppa pending creation of crate *type* probability editor
-substr:= Copy(ammoLoadout,1,39);
+substr:= Copy(ammoLoadout,1,42);
 if (substr = '000000990000009000000000000000000000000000') or  // ropes + parachute
    (substr = '000000900000000000000000000000000000009000') or  // saucer
    (substr = '000000900000000000000000000000000000000009') or  // portal