mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Editor: Bugfix (by Buggler)
- Fixed wrong code placement in editor for r5953 submission resulting in unable to build ja2.exe git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5958 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+25
-24
@@ -4794,29 +4794,6 @@ void ShowHighGround(INT32 iShowHighGroundCommand)//dnl ch2 210909
|
||||
gfRenderWorld = TRUE;
|
||||
}
|
||||
|
||||
#else //non-editor version
|
||||
|
||||
#include "types.h"
|
||||
#include "screenids.h"
|
||||
|
||||
UINT32 EditScreenInit()
|
||||
{
|
||||
return TRUE ;
|
||||
}
|
||||
|
||||
UINT32 EditScreenHandle( )
|
||||
{
|
||||
//If this screen ever gets set, then this is a bad thing -- endless loop
|
||||
return ERROR_SCREEN ;
|
||||
}
|
||||
|
||||
UINT32 EditScreenShutdown( )
|
||||
{
|
||||
return TRUE ;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
void CreateKeyboardItemCreationUI()
|
||||
{
|
||||
gfKeyboardItemCreationUI = TRUE;
|
||||
@@ -4853,4 +4830,28 @@ void RemoveKeyboardItemCreationUI()
|
||||
AddSelectedItemToWorld( giCreateItemCursorMapIndex );
|
||||
}
|
||||
MarkWorldDirty();
|
||||
}
|
||||
}
|
||||
|
||||
#else //non-editor version
|
||||
|
||||
#include "types.h"
|
||||
#include "screenids.h"
|
||||
|
||||
UINT32 EditScreenInit()
|
||||
{
|
||||
return TRUE ;
|
||||
}
|
||||
|
||||
UINT32 EditScreenHandle( )
|
||||
{
|
||||
//If this screen ever gets set, then this is a bad thing -- endless loop
|
||||
return ERROR_SCREEN ;
|
||||
}
|
||||
|
||||
UINT32 EditScreenShutdown( )
|
||||
{
|
||||
return TRUE ;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user