fix Character::UndemandGraphics unloading graphics too early if used

by multiple screens at once
This commit is contained in:
Glenn Maynard
2005-09-04 18:25:09 +00:00
parent e60e016ce8
commit 3bd3fabc44
2 changed files with 16 additions and 5 deletions
+2 -1
View File
@@ -12,7 +12,7 @@ typedef lua_State Lua;
class Character
{
public:
// Character();
Character();
~Character() { }
bool Load( CString sCharDir ); // return true if success
@@ -59,6 +59,7 @@ public:
CString m_sAttacks[NUM_ATTACK_LEVELS][NUM_ATTACKS_PER_LEVEL];
RageTexturePreloader m_Preload;
int m_iPreloadRefcount;
};
#endif