Ignore:
Timestamp:
Jun 23, 2013, 3:38:56 PM (7 years ago)
Author:
sam
Message:

scene: use a global g_scene object instead of Scene::GetDefault().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sprite.cpp

    r2216 r2772  
    5151    Entity::TickDraw(seconds);
    5252
    53     Scene::GetDefault()->AddTile(data->tileset, data->id, m_position,
    54                                  0, vec2(1.0f));
     53    g_scene->AddTile(data->tileset, data->id, m_position, 0, vec2(1.0f));
    5554}
    5655
Note: See TracChangeset for help on using the changeset viewer.