* Only assert that the build location of a droid is on the map if we're not playing single player since we can be on an away mission
This fixes one assert of bug #9280 git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1828 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
a9a5b965ab
commit
abe777fd7a
|
@ -3308,7 +3308,8 @@ DROID* buildDroid(DROID_TEMPLATE *pTemplate, UDWORD x, UDWORD y, UDWORD player,
|
|||
SDWORD i, experienceLoc;
|
||||
DROID_HIT_SIDE impact_side;
|
||||
|
||||
ASSERT(worldOnMap(x,y), "the build locations are not on the map");
|
||||
// Don't use this assertion in single player, since droids can finish building while on an away mission
|
||||
ASSERT(!bMultiplayer || worldOnMap(x,y), "the build locations are not on the map");
|
||||
|
||||
//allocate memory
|
||||
if (!createDroid(player, &psDroid))
|
||||
|
|
Loading…
Reference in New Issue