Skip to content

Commit

Permalink
CStalkerAnimationManager: The infamous 'error in stalker with visual'…
Browse files Browse the repository at this point in the history
… related issues can be averted by resetting
  • Loading branch information
revolucas committed Sep 10, 2016
1 parent 266f6bb commit 78cfe2a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/xrGame/stalker_animation_manager_update.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,13 @@ void CStalkerAnimationManager::update ()
update_impl ();
}
catch(...) {
Msg ("! error in stalker with visual %s",*object().cNameVisual());
throw;
Msg("! error in stalker with visual %s and ID %s",*object().cNameVisual(),object().ID());
head().reset();
torso().reset();
legs().reset();
global().reset();
return;
//throw;
}
STOP_PROFILE
}

0 comments on commit 78cfe2a

Please sign in to comment.