GetImage returns null on -1

This commit is contained in:
Garry Newman 2019-05-01 13:22:06 +01:00
parent fb97dbee2e
commit 8d5f140e09

View File

@ -99,6 +99,7 @@ public static bool GetImageSize( int image, out uint width, out uint height )
/// </summary>
public static Data.Image? GetImage( int image )
{
if ( image == -1 ) return null;
if ( image == 0 ) return null;
var i = new Data.Image();