aboutsummaryrefslogtreecommitdiff
path: root/sky/logic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sky/logic.cpp')
-rw-r--r--sky/logic.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/sky/logic.cpp b/sky/logic.cpp
index 6c3ae788af..3368997f62 100644
--- a/sky/logic.cpp
+++ b/sky/logic.cpp
@@ -47,7 +47,6 @@ static const LogicTable logicTable[] = {
&SkyLogic::simpleAnim, // 16 Module anim without x,y's
};
-
void SkyLogic::engine() {
#define logic_list_no 141
Compact *compact2 = SkyState::fetchCompact(141); // logic list
@@ -70,15 +69,13 @@ void SkyLogic::engine() {
// ok, here we process the logic bit system
if (_compact->status & (1 << 7))
- warning("remove_object_from_walk unimplemented");
- // remove_object_from_walk();
+ _grid->removeObjectFromWalk(_compact);
SkyDebug::logic(_compact->logic);
(this->*logicTable[_compact->logic]) ();
if (_compact->status & (1 << 7))
- warning("object_to_walk unimplemented");
- // object_to_walk();
+ _grid->objectToWalk(_compact);
// a sync sent to the compact is available for one cycle
// only. that cycle has just ended so remove the sync.