mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Brief: //dnl ch85
- Some fixing and adding position in overhead map to be in center of big map. Details: - Calculate overhead map cords from your current position on big maps. - Fix incorrect placing room numbers in maps with cliffs. - Fix CTD during deletion of sector items using CTRL+D or CTRL+Del. - Remove light, door and item cursor and item tiles after coping building. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6888 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -2398,12 +2398,13 @@ void SetBlueFlagFlags( void )
|
||||
|
||||
void InitLoadedWorld( )
|
||||
{
|
||||
#ifndef JA2EDITOR//dnl ch85 030214 editor allows to load any map so rather skip this check
|
||||
//if the current sector is not valid, dont init the world
|
||||
if( gWorldSectorX == 0 || gWorldSectorY == 0 )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
#endif
|
||||
// COMPILE MOVEMENT COSTS
|
||||
CompileWorldMovementCosts( );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user