diff options
Diffstat (limited to '')
-rw-r--r-- | src/testblock.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/testblock.cpp b/src/testblock.cpp index 93ba8ea..73f3adb 100644 --- a/src/testblock.cpp +++ b/src/testblock.cpp @@ -112,6 +112,8 @@ daEnTestBlock_c *daEnTestBlock_c::build() { void daEnTestBlock_c::blockWasHit(bool isDown) { OSReport("I'm a block, and I was hit.\n"); + pos.y = initialY; + //This code makes the block unhittable //physicsInfo.otherCallback1 = 0; //physicsInfo.otherCallback2 = 0; |