mirror of
https://github.com/stevenhowes/CTheEscape.git
synced 2026-05-27 00:03:27 +01:00
Allow scroll of areas in smart tiles.
This commit is contained in:
Binary file not shown.
@@ -321,6 +321,8 @@ void game2_tick_input()
|
|||||||
{
|
{
|
||||||
if(SmartTiles[selectedsmart].Action == 0)
|
if(SmartTiles[selectedsmart].Action == 0)
|
||||||
SmartTiles[selectedsmart].ActionValue++;
|
SmartTiles[selectedsmart].ActionValue++;
|
||||||
|
if(SmartTiles[selectedsmart].Action == 1)
|
||||||
|
SmartTiles[selectedsmart].ActionValue++;
|
||||||
readmodkey = tick + 10;
|
readmodkey = tick + 10;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -332,6 +334,8 @@ void game2_tick_input()
|
|||||||
{
|
{
|
||||||
if(SmartTiles[selectedsmart].Action == 0)
|
if(SmartTiles[selectedsmart].Action == 0)
|
||||||
SmartTiles[selectedsmart].ActionValue--;
|
SmartTiles[selectedsmart].ActionValue--;
|
||||||
|
if(SmartTiles[selectedsmart].Action == 1)
|
||||||
|
SmartTiles[selectedsmart].ActionValue--;
|
||||||
readmodkey = tick + 10;
|
readmodkey = tick + 10;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user