mirror of
https://git.planet-casio.com/Slyvtt/Collab_RPG.git
synced 2024-12-29 13:03:43 +01:00
rendu : Suppresion de dclear()s non nécéssaires
This commit is contained in:
parent
9fc15af523
commit
0f887ea419
2 changed files with 5 additions and 5 deletions
|
@ -98,8 +98,11 @@ void game_render_indicator(Game *game) {
|
|||
}
|
||||
}
|
||||
|
||||
void game_draw(Game *game) {
|
||||
/* Draw everything. */
|
||||
void game_draw(Game *game) {
|
||||
/*Only clear if we are inside, the screen is guaranteed to be filled
|
||||
* otherwise */
|
||||
if(game->map_level->indoor)
|
||||
dclear(C_WHITE);
|
||||
map_render_by_layer(game, BACKGROUND);
|
||||
npc_draw(game);
|
||||
|
|
|
@ -130,9 +130,6 @@ int main(void) {
|
|||
#endif
|
||||
|
||||
do {
|
||||
/* clear screen */
|
||||
dclear(C_WHITE);
|
||||
|
||||
/* render the map */
|
||||
game_draw(&game);
|
||||
|
||||
|
|
Loading…
Reference in a new issue