diff options
author | Vincent Hamm | 2002-03-24 17:49:47 +0000 |
---|---|---|
committer | Vincent Hamm | 2002-03-24 17:49:47 +0000 |
commit | 92a19c45aef3f0e34dfcc5caf2b7f5e65295d00f (patch) | |
tree | d5b45dfe999b9c73264191e45abb1016837912f6 /boxes.cpp | |
parent | 14e6021141ae06673f2ad8d92c60f8499e897ae8 (diff) | |
download | scummvm-rg350-92a19c45aef3f0e34dfcc5caf2b7f5e65295d00f.tar.gz scummvm-rg350-92a19c45aef3f0e34dfcc5caf2b7f5e65295d00f.tar.bz2 scummvm-rg350-92a19c45aef3f0e34dfcc5caf2b7f5e65295d00f.zip |
Fixed pal init
svn-id: r3815
Diffstat (limited to 'boxes.cpp')
-rw-r--r-- | boxes.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -508,7 +508,7 @@ void Scumm::createBoxMatrix() { int code; PathVertex *vtx; - PathNode *node, *node2; + PathNode *node, *node2=NULL; _maxBoxVertexHeap = 1000; @@ -861,7 +861,7 @@ int Scumm::findPathTowardsOld(Actor *a, byte trap1, byte trap2, byte final_trap) void Scumm::GetGates(int trap1,int trap2) { int i; -int Closest1,Closest2,Closest3; +int Closest1=0,Closest2=0,Closest3=0; int Dist[8]; int Dist1,Dist2,Dist3; int Box1,Box2,Box3; |