diff options
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/being.cpp b/src/being.cpp index b49f790e..46fb67bb 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -285,6 +285,12 @@ Being::nextStep() void Being::logic() { + // Determine whether the being should take another step + if (mAction == WALK && get_elapsed_time(mWalkTime) >= mWalkSpeed) + { + nextStep(); + } + // Determine whether speech should still be displayed if (get_elapsed_time(mSpeechTime) > 5000) { |