From 44a498958c3dde6b719a6c0095187ee7413cdcdf Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Sat, 16 Mar 2013 06:57:16 +0000 Subject: [PATCH] - battle end screen render fix for tomreyn --- source/glest_game/main/battle_end.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/glest_game/main/battle_end.cpp b/source/glest_game/main/battle_end.cpp index 3b37a087..47f5bbd1 100644 --- a/source/glest_game/main/battle_end.cpp +++ b/source/glest_game/main/battle_end.cpp @@ -746,7 +746,9 @@ void BattleEnd::render() { } if(menuBackgroundVideo == NULL) { - renderToTextureCount++; + if(renderToTexture == NULL && renderToTextureCount < 300) { + renderToTextureCount++; + } } }