Change various asserts to not be included in release builds
This commit is contained in:
@@ -48,13 +48,13 @@ uint GetMaxSpriteID();
|
||||
|
||||
static inline const Sprite *GetSprite(SpriteID sprite, SpriteType type)
|
||||
{
|
||||
assert(type != ST_RECOLOUR);
|
||||
dbg_assert(type != ST_RECOLOUR);
|
||||
return (Sprite*)GetRawSprite(sprite, type);
|
||||
}
|
||||
|
||||
static inline const byte *GetNonSprite(SpriteID sprite, SpriteType type)
|
||||
{
|
||||
assert(type == ST_RECOLOUR);
|
||||
dbg_assert(type == ST_RECOLOUR);
|
||||
return (byte*)GetRawSprite(sprite, type);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user