Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix FEAT_SKYSCRAPER features on TER_CLIFFFACE tiles remaining as bloc…

…king for air units even after being destroyed.
  • Loading branch information...
commit 2817c7142b4b83e67f99d0c8f4fceb91a4b048cc 1 parent dfcd165
@Cyp Cyp authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/feature.cpp
View
3  src/feature.cpp
@@ -1,7 +1,7 @@
/*
This file is part of Warzone 2100.
Copyright (C) 1999-2004 Eidos Interactive
- Copyright (C) 2005-2010 Warzone 2100 Project
+ Copyright (C) 2005-2011 Warzone 2100 Project
Warzone 2100 is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -573,6 +573,7 @@ bool destroyFeature(FEATURE *psDel)
{
/* This remains a blocking tile */
psTile->psObject = NULL;
+ auxClearBlocking(mapX + width, mapY + breadth, AIR_BLOCKED); // Shouldn't remain blocking for air units, however.
psTile->texture = TileNumber_texture(psTile->texture) | BLOCKING_RUBBLE_TILE;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.