Remove an assert for something that happens commonly while in cheat mode.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8635 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
36dd15bd0d
commit
1858a569e7
|
@ -1883,7 +1883,10 @@ STRUCTURE* buildStructure(STRUCTURE_STATS* pStructureType, UDWORD x, UDWORD y, U
|
||||||
//don't create the Structure use existing one
|
//don't create the Structure use existing one
|
||||||
psBuilding = getTileStructure(map_coord(x), map_coord(y));
|
psBuilding = getTileStructure(map_coord(x), map_coord(y));
|
||||||
|
|
||||||
ASSERT_OR_RETURN(NULL, psBuilding != NULL, "No owning structure for this module - %s", getStructName(pStructureType));
|
if (!psBuilding)
|
||||||
|
{
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
if (pStructureType->type == REF_FACTORY_MODULE)
|
if (pStructureType->type == REF_FACTORY_MODULE)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue