Project

General

Profile

« Previous | Next » 

Revision 3a1efb32

Added by Leszek Koltunski over 2 years ago

Bugfixes for the ShapeChanging touch control.
Still doesn't work but doesn't crash anymore :)

View differences:

src/main/java/org/distorted/objectlib/objects/TwistyCuboid.java
19 19

  
20 20
package org.distorted.objectlib.objects;
21 21

  
22
import static org.distorted.objectlib.touchcontrol.TouchControl.TC_CHANGING;
22 23
import static org.distorted.objectlib.touchcontrol.TouchControl.TC_CUBOID;
23 24
import static org.distorted.objectlib.touchcontrol.TouchControl.TYPE_NOT_SPLIT;
24 25

  
......
644 645

  
645 646
  public int getMovementType()
646 647
    {
647
    return TC_CUBOID;
648
    return TC_CHANGING;
648 649
    }
649 650

  
650 651
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff