Revert "Cast result of rna_RenderSettings_use_game_engine_get to {0, 1}"

There are more flags that trigger this assertion, so I want to discuss
an appropriate way to fix it before changing them all.

This reverts commit b1191e5caf.
This commit is contained in:
Sybren A. Stüvel 2015-02-20 08:41:21 +01:00
parent b1191e5caf
commit d0978103ae
1 changed files with 1 additions and 1 deletions

View File

@ -1245,7 +1245,7 @@ static int rna_RenderSettings_use_game_engine_get(PointerRNA *ptr)
for (type = R_engines.first; type; type = type->next)
if (STREQ(type->idname, rd->engine))
return !!(type->flag & RE_GAME);
return (type->flag & RE_GAME);
return 0;
}