2019-12-15 08:50 CET

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000343Spring engineGeneralpublic2006-12-22 00:12
ReporterKloot 
Assigned Totvo 
PrioritynormalSeveritytweakReproducibilityN/A
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0000343: patch to enable seaplanes to land on water
DescriptionSimple one-line change in rts/Sim/MoveTypes/TAAirMoveType.cpp::CanLandAt() so that owner->unitDef->floater property is checked when h < 0, if set to true then plane is allowed to land on water.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files
  • patch file icon seaplane.patch (372 bytes) 2006-12-21 13:41 -
    Index: TAAirMoveType.cpp
    ===================================================================
    --- TAAirMoveType.cpp	(revision 2925)
    +++ TAAirMoveType.cpp	(working copy)
    @@ -866,7 +866,7 @@
     		return false;
     
     	float h = ground->GetApproximateHeight(pos.x, pos.z);
    -	if (h < 0)
    +	if ((h < 0) && !((owner -> unitDef) -> floater))
     		return false;
     
     	float3 tpos=owner->pos;
    
    patch file icon seaplane.patch (372 bytes) 2006-12-21 13:41 +

-Relationships
+Relationships

-Notes

~0000475

tvo (reporter)

committed
+Notes

-Issue History
Date Modified Username Field Change
2006-12-21 13:41 Kloot New Issue
2006-12-21 13:41 Kloot File Added: seaplane.patch
2006-12-22 00:12 tvo Status new => resolved
2006-12-22 00:12 tvo Resolution open => fixed
2006-12-22 00:12 tvo Assigned To => tvo
2006-12-22 00:12 tvo Note Added: 0000475
+Issue History