Skip to content

Commit

Permalink
Fixed bug introduced during refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
HunterwolfAT committed Jul 20, 2018
1 parent 1f278be commit da4e846
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logic/CameraController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ void Logic::CameraController::nextDialogueShot() {
VobTypes::NpcVobInformation player = VobTypes::asNpcVob(m_World,
m_World.getScriptEngine().getPlayerEntity());

EDialogueShotType nextShot;
EDialogueShotType nextShot = m_DialogueShotType;
bool playerTalking = m_dialogueTargetName == player.playerController->getScriptInstance().name[0];

// Rule: Use close-up and neutral only after at least two fulls or shoulders
Expand Down

0 comments on commit da4e846

Please sign in to comment.