forked from Mirrors/openclonk
Fix two typos in comments.
parent
8c3e61c3da
commit
46a7d653d8
|
@ -115,7 +115,7 @@ private func CheckVehicleAmmo(fx, object catapult)
|
|||
|
||||
func PathFree()
|
||||
{
|
||||
// ignore path che4cks to doors because of solidmask)
|
||||
// ignore path checks to doors because of solidmask)
|
||||
var fx = GetEffect("AI", this);
|
||||
if (fx && fx.target && fx.target->GetID()==StoneDoor) return true;
|
||||
return inherited(...);
|
||||
|
|
|
@ -246,7 +246,7 @@ void C4TextureShape::Draw(CSurface8 * sfcMap, CSurface8* sfcMapBkg, int32_t iMap
|
|||
// This may overwrite the previous pixBkg when multiple chunks are covered
|
||||
// So effectively, it will always have the background of the bottom right map coverage
|
||||
// Could manage priorities here and ensure the center determines the background
|
||||
// - but it's just for the corner case of map designers switching background material within a single path.
|
||||
// - but it's just for the corner case of map designers switching background material within a single patch.
|
||||
activation.Add(block_x1, block_y1, shape_idx, 0, 0, pixBkg);
|
||||
activation.Add(block_x2, block_y1, shape_idx, 1, 0, pixBkg);
|
||||
activation.Add(block_x1, block_y2, shape_idx, 0, 1, pixBkg);
|
||||
|
|
Loading…
Reference in New Issue