mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Bugfixes (by Flugente)
- fixed a bug that caused wrong cursors to be dispalyed in NCTH - fixed an oversight that caused the scope mode toggle not to be working - corrected fortification cursor issues git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5345 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -565,10 +565,8 @@ BOOLEAN IsRefuelableStructAtGridNo( INT32 sGridNo, UINT8 *pubID )
|
||||
|
||||
|
||||
// Flugente: determine wether a fortification can be built on this position
|
||||
BOOLEAN IsFortificationPossibleAtGridNo( INT32 sGridNo, UINT8 *pubID )
|
||||
BOOLEAN IsFortificationPossibleAtGridNo( INT32 sGridNo )
|
||||
{
|
||||
GetMouseMapPos( &sGridNo );
|
||||
|
||||
INT8 bOverTerrainType = GetTerrainType( sGridNo );
|
||||
if( bOverTerrainType == MED_WATER || bOverTerrainType == DEEP_WATER || bOverTerrainType == LOW_WATER )
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user