Fix charpanel always showing player 0 stats
This commit is contained in:
parent
41f6b62caa
commit
2d47c12515
5 changed files with 8 additions and 3 deletions
|
|
@ -333,6 +333,8 @@ TEST(Writehero, pfile_write_hero)
|
|||
leveltype = DTYPE_TOWN;
|
||||
|
||||
MyPlayerId = 0;
|
||||
MyPlayer = &Players[MyPlayerId];
|
||||
|
||||
_uiheroinfo info {};
|
||||
strcpy(info.name, "TestPlayer");
|
||||
info.heroclass = HeroClass::Rogue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue