mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 10:20:26 +01:00
Remove FIXMEs/silence Fish.es warnings
Thanks to @SLAwww's explanations it's clear now :)
This commit is contained in:
parent
8106aedd9f
commit
de4f96d208
|
@ -509,7 +509,7 @@ CBrushPolygon &CBrushPolygon::CopyPolygon(CBrushPolygon &bp)
|
|||
bpo_boxBoundingBox=bp.bpo_boxBoundingBox;
|
||||
bpo_pbscSector=bp.bpo_pbscSector;
|
||||
bpo_rsOtherSideSectors.Clear();
|
||||
//bpo_lhShadingInfos; // FIXME: DG: was this missing "= bp.bpo_lhShadingInfos" or something like that?
|
||||
//bpo_lhShadingInfos; // don't copy or anything, it's a CListHead which must not be copied
|
||||
bpo_iInWorld=bp.bpo_iInWorld;
|
||||
return *this;
|
||||
}
|
||||
|
|
|
@ -268,7 +268,7 @@ procedures:
|
|||
// declare yourself as a model
|
||||
InitAsModel();
|
||||
// fish must not go upstairs, or it will get out of water
|
||||
SetPhysicsFlags((EPF_MODEL_WALKING|EPF_HASGILLS)&~EPF_ONBLOCK_CLIMBORSLIDE|EPF_ONBLOCK_SLIDE);
|
||||
SetPhysicsFlags(((EPF_MODEL_WALKING|EPF_HASGILLS)&~EPF_ONBLOCK_CLIMBORSLIDE)|EPF_ONBLOCK_SLIDE);
|
||||
SetCollisionFlags(ECF_MODEL);
|
||||
SetFlags(GetFlags()|ENF_ALIVE);
|
||||
SetHealth(30.0f);
|
||||
|
|
|
@ -283,10 +283,7 @@ procedures:
|
|||
// declare yourself as a model
|
||||
InitAsModel();
|
||||
// fish must not go upstairs, or it will get out of water
|
||||
// FIXME: DG: should it really be
|
||||
// (EPF_MODEL_WALKING|EPF_HASGILLS) & ~EPF_ONBLOCK_CLIMBORSLIDE ) | EPF_ONBLOCK_SLIDE
|
||||
// or rather (EPF_MODEL_WALKING|EPF_HASGILLS) & ~(EPF_ONBLOCK_CLIMBORSLIDE|EPF_ONBLOCK_SLIDE) ??
|
||||
SetPhysicsFlags((EPF_MODEL_WALKING|EPF_HASGILLS)&~EPF_ONBLOCK_CLIMBORSLIDE|EPF_ONBLOCK_SLIDE);
|
||||
SetPhysicsFlags(((EPF_MODEL_WALKING|EPF_HASGILLS)&~EPF_ONBLOCK_CLIMBORSLIDE)|EPF_ONBLOCK_SLIDE);
|
||||
SetCollisionFlags(ECF_MODEL);
|
||||
SetFlags(GetFlags()|ENF_ALIVE);
|
||||
SetHealth(30.0f);
|
||||
|
|
Loading…
Reference in New Issue
Block a user