Ignore:
Timestamp:
Aug 22, 2010, 2:55:40 AM (11 years ago)
Author:
sam
Message:

Refactor stuff.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/debugsprite.cpp

    r151 r154  
    5656}
    5757
    58 void DebugSprite::TickRender(float deltams)
     58void DebugSprite::TickDraw(float deltams)
    5959{
    60     Entity::TickRender(deltams);
     60    Entity::TickDraw(deltams);
    6161
    6262    int x = data->x;
     
    6464    int z = data->z;
    6565
    66     data->game->GetScene()->AddTile((data->tiler << 16) | 15, x, y, z + 32, 1);
    67     data->game->GetScene()->AddTile((data->tiler << 16) | 31, x, y, z, 1);
     66    data->game->GetScene()->AddTile((data->tiler << 16) | 15,
     67                                    x - 16, y - 32, z + 32, 1);
     68    data->game->GetScene()->AddTile((data->tiler << 16) | 31,
     69                                    x - 16, y - 32, z, 1);
    6870}
    6971
Note: See TracChangeset for help on using the changeset viewer.