aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorSimei Yin2017-08-12 11:28:21 +0200
committerSimei Yin2017-08-12 11:28:21 +0200
commit7734cb937df59048d5538b43751b2e50dd56b62f (patch)
tree84d1db45ad522911a9c2856ae388f84a48f8d2b5 /engines
parent044ea6f8b028e24e49760702716d4498f70acab9 (diff)
downloadscummvm-rg350-7734cb937df59048d5538b43751b2e50dd56b62f.tar.gz
scummvm-rg350-7734cb937df59048d5538b43751b2e50dd56b62f.tar.bz2
scummvm-rg350-7734cb937df59048d5538b43751b2e50dd56b62f.zip
SLUDGE: Fix uninitialised value
Diffstat (limited to 'engines')
-rw-r--r--engines/sludge/people.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sludge/people.cpp b/engines/sludge/people.cpp
index 14d2f0fc5f..a6adc4ebfb 100644
--- a/engines/sludge/people.cpp
+++ b/engines/sludge/people.cpp
@@ -839,6 +839,7 @@ bool addPerson(int x, int y, int objNum, Persona *p) {
newPerson->transparency = 0;
newPerson->myPersona = p;
newPerson->lastUsedAnim = 0;
+ newPerson->frameTick = 0;
setFrames(*newPerson, ANI_STAND);