# HG changeset patch # User celestar # Date 2005-01-30 18:40:52 # Node ID 5ce95e7feae2cfe22c92f8e0b8dea3750de0ad86 # Parent 23f22f1ce9d51ed472945205213680f2bd67f530 (svn r1738) -Fix: [ 1108735 ] Fixed (hopefully) an assertion that was cause by selling carriages in a MP game faster than the network can handle. (Truelight) diff --git a/train_cmd.c b/train_cmd.c --- a/train_cmd.c +++ b/train_cmd.c @@ -873,7 +873,7 @@ int32 CmdSellRailWagon(int x, int y, uin v = GetVehicle(p1); - if (!CheckOwnership(v->owner)) + if (v->type == 0 || !CheckOwnership(v->owner)) return CMD_ERROR; // get first vehicle in chain