mirror of
https://github.com/ApfelTeeSaft/PlanetFleet.git
synced 2026-08-26 19:33:38 +00:00
shifting submarine frame dive depth
This commit is contained in:
@@ -624,7 +624,7 @@ namespace battleship{
|
||||
|
||||
GameObjectFrameController *ufCtr = GameObjectFrameController::getSingleton();
|
||||
|
||||
if(ufCtr->isPlacingFrames())
|
||||
if(ufCtr->isPlacingOnSurface())
|
||||
ufCtr->update();
|
||||
}
|
||||
|
||||
@@ -659,7 +659,7 @@ namespace battleship{
|
||||
|
||||
switch((Bind)bind){
|
||||
case Bind::LOOK_AROUND:
|
||||
if(ufCtr->isPlacingFrames()){
|
||||
if(ufCtr->isPlacingOnSurface()){
|
||||
Player *player = Game::getSingleton()->getPlayer(0);
|
||||
GameObjectFrame &frame = ufCtr->getGameObjectFrame(0);
|
||||
Model *model = frame.getModel();
|
||||
@@ -678,7 +678,7 @@ namespace battleship{
|
||||
break;
|
||||
case Bind::ROTATE_OBJ_FRAME:
|
||||
ufCtr->removeGameObjectFrames();
|
||||
ufCtr->setPlacingFrames(false);
|
||||
ufCtr->setPlacingOnSurface(false);
|
||||
break;
|
||||
case Bind::INCREASE_RADIUS:
|
||||
if(isPressed) mapEditor->updateCircleRadius(true);
|
||||
|
||||
Reference in New Issue
Block a user