More corner case checks for battle interaction

This commit is contained in:
2016-07-21 02:04:17 +10:00
parent 2707c46df1
commit 7b13615614
2 changed files with 60 additions and 55 deletions
+2
View File
@@ -330,6 +330,8 @@ void debug_drawUi(GameState *state, f32 dt)
DEBUG_PUSH_VAR("glDrawArray Calls: %d",
GLOBAL_debug.callCount[debugcallcount_drawArrays], "i32");
i32 debug_bAllocated = state->arena.bytesAllocated;
DEBUG_PUSH_VAR("TotalMemoryAllocated: %db", debug_bAllocated, "i32");
i32 debug_kbAllocated = state->arena.bytesAllocated / 1024;
DEBUG_PUSH_VAR("TotalMemoryAllocated: %dkb", debug_kbAllocated, "i32");