Skip to content

Commit

Permalink
Minor formatting fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
feedelli committed Dec 2, 2011
1 parent 4d02b5a commit 850976b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions lib/actor.cc
Expand Up @@ -94,8 +94,7 @@ void Actor::eachFrame(uint32_t ticks) {
animation->eachFrame(ticks);
}

if (isSpeaking())
{
if (isSpeaking()) {
getDialogLine()->eachFrame();
if (getDialogLine()->isComplete()) {
dialogLines.pop();
Expand Down
3 changes: 1 addition & 2 deletions lib/dialog_line.cc
Expand Up @@ -10,8 +10,7 @@ namespace grail {

void DialogLine::eachFrame() {
uint32_t timeNow = SDL_GetTicks();
if (timeNow > (timeStarted + timeToLive))
{
if (timeNow > (timeStarted + timeToLive)) {
complete = true;
}
}
Expand Down

0 comments on commit 850976b

Please sign in to comment.