-got rid of the new compile warnings

This commit is contained in:
fix94.1 2012-07-03 17:07:53 +00:00
parent 706e18c6c0
commit 686c3e8726
2 changed files with 5 additions and 2 deletions

View File

@ -246,7 +246,7 @@ void Animator::ProcessHermiteKey(const KeyType& type, float value)
// << " target: " << (int)type.target // << " target: " << (int)type.target
// << " value: " << value // << " value: " << value
// << '\n'; // << '\n';
gprintf("Animator::ProcessHermiteKey\n"); gprintf("Animator::ProcessHermiteKey, type.index: %d, value: %f\n", type.index, value);
} }
void Animator::ProcessStepKey(const KeyType& type, StepKeyHandler::KeyData data) void Animator::ProcessStepKey(const KeyType& type, StepKeyHandler::KeyData data)
@ -256,5 +256,5 @@ void Animator::ProcessStepKey(const KeyType& type, StepKeyHandler::KeyData data)
// << " target: " << (int)type.target // << " target: " << (int)type.target
// << " data:" << (int)data.data1 << " " << (int)data.data2 // << " data:" << (int)data.data1 << " " << (int)data.data2
// << '\n'; // << '\n';
gprintf("Animator::ProcessStepKey\n"); gprintf("Animator::ProcessStepKey, type.index: %d, data: %d %d", type.index, data.data1, data.data2);
} }

View File

@ -69,6 +69,9 @@ void QuadPane::Draw(const BannerResources& resources, u8 render_alpha, const flo
if(!header) if(!header)
return; return;
if(ws_scale < 0)
gprintf("%f\n", ws_scale);
if (material_index < resources.materials.size()) if (material_index < resources.materials.size())
{ {
bool modulate_color = IsModulateColor(header->vertex_colors, render_alpha); bool modulate_color = IsModulateColor(header->vertex_colors, render_alpha);