unit references changed to strings

This commit is contained in:
johns 2000-04-05 19:45:56 +00:00
parent 19006564da
commit 122f465a4e

View file

@ -70,8 +70,8 @@ local void ConvertMTXM(const unsigned short* mtxm,int width,int height
int h;
int w;
DebugCheck( UnitTypes[UnitWallOrc]._HitPoints>=256
|| UnitTypes[UnitWallHuman]._HitPoints>=256 );
DebugCheck( UnitTypeByIdent("unit-orc-wall")->_HitPoints>=256
|| UnitTypeByIdent("unit-human-wall")->_HitPoints>=256 );
if( map->Terrain<TilesetMax ) {
ctab=Tilesets[map->Terrain].Table;