aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/agos/contain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agos/contain.cpp b/engines/agos/contain.cpp
index 4f692b58f8..b7950f7034 100644
--- a/engines/agos/contain.cpp
+++ b/engines/agos/contain.cpp
@@ -32,7 +32,7 @@ int AGOSEngine::canPlace(Item *x, Item *y) {
Item *z = derefItem(x->parent);
SubObject *o = (SubObject *)findChildOfType(y, 2);
int ct;
- int cap;
+ int cap = 0;
if (o == NULL)
return(0); /* Fits Fine */