Setup rpg stuff
This commit is contained in:
@@ -22,5 +22,6 @@ static scene_t SCENE_TEST = {
|
||||
.init = sceneTestInit,
|
||||
.update = sceneTestUpdate,
|
||||
.render = sceneTestRender,
|
||||
.dispose = sceneTestDispose
|
||||
.dispose = sceneTestDispose,
|
||||
.flags = 0
|
||||
};
|
||||
@@ -65,8 +65,8 @@ void sceneManagerSetScene(scene_t *scene) {
|
||||
|
||||
if(scene) {
|
||||
assertTrue(
|
||||
scene->flags & SCENE_FLAG_INITIALIZED,
|
||||
"Scene not initialized"
|
||||
(scene->flags & SCENE_FLAG_INITIALIZED) == 0,
|
||||
"Scene should not yet be initialized"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user