- attempt at fixing some crashes in shop (related to bad usage of the cache)
- Fix typo reported with Qumulox
This commit is contained in:
wagic.the.homebrew@gmail.com
2010-10-03 07:36:01 +00:00
parent 33d8ad5e9b
commit c3c5d893d1
4 changed files with 3 additions and 15 deletions

View File

@@ -359,7 +359,7 @@ void TaskList::Start(){
mElapsed = 0;
mState = TASKS_IN;
if(!mBgTex){
mBgTex = resources.RetrieveTexture("taskboard.png");
mBgTex = resources.RetrieveTexture("taskboard.png", RETRIEVE_LOCK);
float unitH = mBgTex->mHeight / 4;
float unitW = mBgTex->mWidth / 4;
if(unitH == 0 || unitW == 0) return;