mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-26 19:43:29 +00:00
new icons
This commit is contained in:
+1
-3
@@ -115,6 +115,7 @@ namespace battleship{
|
||||
else
|
||||
cursorState = CursorState::NORMAL;
|
||||
|
||||
cursorNode->setVisible(cursorState != CursorState::NORMAL);
|
||||
Texture *tex = nullptr;
|
||||
|
||||
switch(cursorState){
|
||||
@@ -124,9 +125,6 @@ namespace battleship{
|
||||
case CursorState::GARRISON:
|
||||
tex = garrisonTex;
|
||||
break;
|
||||
default:
|
||||
tex = pointerTex;
|
||||
break;
|
||||
}
|
||||
|
||||
cursorNode->getMesh(0)->getMaterial()->setTexUniform("diffuseMap", tex, false);
|
||||
|
||||
Reference in New Issue
Block a user