Arx Libertatis Bug Tracker
Please log in to bookmark issues
CLOSED  Bug report #51  -  Alternate player appearances broken after loading savegames.
Posted Aug 01, 2011 - updated Feb 17, 2012   Shortlink:
icon_info.png This issue has been closed with status "Fixed" and resolution "RESOLVED".
Issue details
  • Type of issue
    Bug report
  • Status
  • Assigned to
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     Daniel Scharrer
  • Owned by
    Not owned by anyone
  • Estimated time
    Not estimated
  • Time spent
    369294 hours
  • Category
    Not determined
  • Resolution
  • Priority
    Not determined
  • Reproducability
    Not determined
  • Severity
  • Targetted for
    icon_milestones.png Not determined
  • OS
    icon_customdatatype.png Not determined
  • Architecture
    icon_customdatatype.png Not determined
  • Fixed in
    icon_customdatatype.png Not determined
Issue description
Sometimes after loading savegames, the alternate appearances in the new game screen all look the same.

This is because each TextureContainer used to have two different names (but now only one): - m_strName: The path of the actual loaded image. - m_texName: Used when searching for textures by name or checking if a texture is already loaded.

ARX_PLAYER_Restore_Skin only changed m_strName, so the texture was still found using the old m_texName

Optimal solution: use the correct texture when loading / creating / modifying the player mesh instead of replacing all uses of a texture with a specific name.

TODO: Check if other parts of the code made use of the two different names.
Steps to reproduce this issue
Nothing entered.

Comment posted by
 Daniel Scharrer
Aug 03, 18:22
Fixed in commit e21da956c6148d3b501f219521ebc328587fe6f5