Fixed wrong cross referencing attack to anim data

This commit is contained in:
2016-07-22 19:29:12 +10:00
parent 7b13615614
commit 358f850a2c
4 changed files with 52 additions and 29 deletions
-8
View File
@@ -208,14 +208,6 @@ void debug_drawUi(GameState *state, f32 dt)
}
if (cameraBounds.w <= world->bounds.w) cameraBounds.w = world->bounds.w;
#if 0
Texture *emptyTex = asset_getTexture(assetManager, texlist_empty);
v2 heroCenter = v2_add(hero->pos, v2_scale(hero->hitboxSize, 0.5f));
RenderTex renderTex = {emptyTex, V4(0, 1, 1, 0)};
renderer_rect(&state->renderer, cameraBounds, heroCenter,
V2(distance, 5.0f), 0, renderTex, V4(1, 0, 0, 0.25f));
#endif
Font *font = &GLOBAL_debug.font;
if (world->numEntitiesInBattle > 0)
{