mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Merged from revision: 6824
Map Editor Fixes/Improvements (by Buggler) - Better UI feedback after last item deleted from item stack in editor item mode - Improved editor room number increment code. 'Shift + LMB' when drawing room numbers will reuse same room number on next input - externalized hardcoded button tooltip text in editor tile selection window git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6825 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+12
-2
@@ -4375,8 +4375,18 @@ void ProcessAreaSelection( BOOLEAN fWithLeftButton )
|
||||
DrawObjectsBasedOnSelectionRegion();
|
||||
if( gusCurrRoomNumber > 0 )
|
||||
{
|
||||
gusCurrRoomNumber++;
|
||||
gusMaxRoomNumber++;
|
||||
if( gusCurrRoomNumber == gusMaxRoomNumber )
|
||||
gusMaxRoomNumber++;
|
||||
|
||||
//retain existing room number
|
||||
if ( _KeyDown( SHIFT ) )
|
||||
{
|
||||
//Do nothing
|
||||
}
|
||||
else
|
||||
{
|
||||
gusCurrRoomNumber = gusMaxRoomNumber;
|
||||
}
|
||||
if( iCurrentTaskbar == TASK_BUILDINGS && TextInputMode() )
|
||||
{
|
||||
CHAR16 str[4];
|
||||
|
||||
Reference in New Issue
Block a user