Changeset 7229 in orxonox.OLD for branches/resources/src/lib/graphics/text_engine
- Timestamp:
- Mar 21, 2006, 3:13:34 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/resources/src/lib/graphics/text_engine/text.cc
r7221 r7229 88 88 if (!fontFile.empty()) 89 89 { 90 tmpFont = (Font*)ResourceManager::getInstance()->load(fontFile, TTF, RP_GAME, (int)fontSize);90 tmpFont = dynamic_cast<Font*>(ResourceManager::getInstance()->load(fontFile, TTF, RP_GAME, (int)fontSize)); 91 91 if (tmpFont != NULL) 92 92 this->font = tmpFont;
Note: See TracChangeset
for help on using the changeset viewer.