Camera texture can be longer than 8 characters

This commit is contained in:
ZZYZX 2017-03-06 06:08:30 +02:00
parent 92825a0870
commit bbe651d366

View file

@ -74,12 +74,14 @@ namespace CodeImp.DoomBuilder.ZDoom
return false; return false;
} }
/*
// Camera texture names are limited to 8 chars // Camera texture names are limited to 8 chars
if(texturename.Length > DataManager.CLASIC_IMAGE_NAME_LENGTH) if(texturename.Length > DataManager.CLASIC_IMAGE_NAME_LENGTH)
{ {
ReportError("Camera texture names must be no longer than " + DataManager.CLASIC_IMAGE_NAME_LENGTH + " chars"); ReportError("Camera texture names must be no longer than " + DataManager.CLASIC_IMAGE_NAME_LENGTH + " chars");
return false; return false;
} }*/
// [ZZ] not really. I've successfully tried it with >8 chars and it works.
// Width // Width
int width = -1; int width = -1;