- adding tests for issue 489 and issue 491
- check for null pointers in Credits.cpp
- Test suite can now select tokens by their name
- Fixed Dragon Broodmothere's token name
This commit is contained in:
wagic.the.homebrew@gmail.com
2010-10-17 10:21:08 +00:00
parent d9f5b1586c
commit 8fdb64e9ce
7 changed files with 97 additions and 19 deletions

View File

@@ -27,6 +27,8 @@
unlockedTex = NULL;
unlockedQuad = NULL;
unlocked = -1;
p1 = NULL;
p2 = NULL;
}
Credits::~Credits(){
@@ -168,6 +170,7 @@ void Credits::compute(Player * _p1, Player * _p2, GameApp * _app){
}
void Credits::Render(){
if (!p1) return;
GameObserver * g = GameObserver::GetInstance();
JRenderer * r = JRenderer::GetInstance();
WFont * f = resources.GetWFont(Constants::MAIN_FONT);