Spodii / netgore

Cross platform online rpg engine using C# and SFML
http://www.netgore.com/
40 stars 16 forks source link

Character with Paperdoll equipement doesn't show on Character Selection Screen #367

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
All my character with paperdoll are naked in the character selection screen.
Check the screenshot attached.

Original issue reported on code.google.com by volko...@hotmail.com on 16 Mar 2013 at 10:56

Attachments:

GoogleCodeExporter commented 9 years ago
This isn't a bug at all, but how the engine is designed. If you'd like the 
paperdoll layers to show up on the Character Selection Screen, then change it 
from null to a valid object, etc. The line/area of code your looking for is 
this:

if (bodyInfo != null)
                    {
                        _characterSprite.SetSet(bodyInfo.Walk, bodyInfo.Size);
                        _characterSprite.SetBody(bodyInfo.Body);
                        _characterSprite.SetPaperDollLayers(null);

                        Size = bodyInfo.Size;
                    }

Original comment by darksumm...@gmail.com on 17 Mar 2013 at 2:21