mirror of
https://github.com/1dot13/source.git
synced 2026-08-26 14:30:26 +02:00
Fortification feature fixes (by Flugente)
- fixed a bug that prohibited building a structure in turnbased mode - fixed a bug that caused a wrong AP cost for fortification actions - fixed itemflag - fixed cursor animations for fortifications git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5343 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -2162,6 +2162,8 @@ UINT8 HandleFortificationCursor( SOLDIERTYPE *pSoldier, INT32 sGridNo, UINT32 ui
|
||||
{
|
||||
return( FORTIFICATION_RED_UICURSOR );
|
||||
}
|
||||
else
|
||||
return( FORTIFICATION_RED_UICURSOR );
|
||||
}
|
||||
|
||||
if ( HasItemFlag( (&(pSoldier->inv[HANDPOS]))->usItem, (SHOVEL)) )
|
||||
@@ -2172,6 +2174,8 @@ UINT8 HandleFortificationCursor( SOLDIERTYPE *pSoldier, INT32 sGridNo, UINT32 ui
|
||||
{
|
||||
return( FORTIFICATION_GREY_UICURSOR );
|
||||
}
|
||||
else
|
||||
return( FORTIFICATION_RED_UICURSOR );
|
||||
}
|
||||
|
||||
// can we build something here?
|
||||
|
||||
Reference in New Issue
Block a user