Skip to content

Commit b4495f0

Browse files
committed
Changed the character portrait on the char screen
* now it's always in ANIM_stand instead of current action frame.
1 parent d8ae063 commit b4495f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sfall/Modules/HeroAppearance.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ static void DrawPCConsole() {
548548
fo::Window *WinInfo = fo::func::GNW_find(WinRef);
549549

550550
//DWORD critNum = fo::var::art_vault_guy_num; // pointer to current base hero critter FrmId
551-
DWORD critNum = fo::var::obj_dude->artFid; // pointer to current armored hero critter FrmId
551+
DWORD critNum = fo::var::obj_dude->artFid & 0xFF00FFFF; // current armored hero critter FrmId (in ANIM_stand)
552552

553553
surface_draw(70, 102, 640, 338, 78, charScrnBackSurface, WinInfo->width, 338, 78, WinInfo->surface); // restore background image
554554
DrawBody(critNum, WinInfo->surface, 338, 78, WinInfo->width);

0 commit comments

Comments
 (0)