Correction glitch d'affichage bloc gravité

This commit is contained in:
Mattéo Delabre 2016-04-11 03:24:51 +02:00
parent 2d62dd61ed
commit 2aafd24037
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ Object::Ptr GravityBlock::clone() const {
} }
void GravityBlock::prepareDraw(ResourceManager& resources) { void GravityBlock::prepareDraw(ResourceManager& resources) {
Block::prepareDraw(resources);
std::string texture_name = "gravity_block_"; std::string texture_name = "gravity_block_";
switch (gravity_direction) { switch (gravity_direction) {