CleverRaven/Cataclysm-DDA — pull request #7426 by BevapDin (2014-04-26 17:39:22+00:00)
Title: Enable animations in SDL

One has to call `try_update` (sdltiles.cpp), which in turn calls `SDL_RenderPresent`.
That SDL function finally puts the stuff on the screen, `wrefresh` does not (it renders into a buffer).

I removed some calls to draw on `w_terrain` because `use_tiles` is true there and `cata_tiles` takes care of the terrain. In fact `w_terrain` is not updated to the screen at all in this situation.

And I separated the drawing to `w_terrain` from the drawing by `cata_tiles` by adding `if(use_tiles)` clauses.

Fixes #6780, but you have to have a tileset which contains the required tiles.