summaryrefslogtreecommitdiff
path: root/cObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cObject.cpp')
-rw-r--r--cObject.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cObject.cpp b/cObject.cpp
index 118fe6f..8f9f6fa 100644
--- a/cObject.cpp
+++ b/cObject.cpp
@@ -4,6 +4,7 @@ cObject::cObject(int _sx, int _sy)
{
bSizeSet = false;
+ pos = {0,0};
setSize(_sx, _sy);
}