Eliminate some compile-time warnings.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1351 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -378,7 +378,7 @@ ship_weapons (ELEMENTPTR ShipPtr, ELEMENTPTR OtherPtr, COUNT
|
|||||||
w = *WeaponPtr;
|
w = *WeaponPtr;
|
||||||
if (w)
|
if (w)
|
||||||
{
|
{
|
||||||
EPtr = LockElement (w, &EPtr);
|
LockElement (w, &EPtr);
|
||||||
if (EPtr->state_flags & APPEARING)
|
if (EPtr->state_flags & APPEARING)
|
||||||
{
|
{
|
||||||
EPtr->next = EPtr->current;
|
EPtr->next = EPtr->current;
|
||||||
|
|||||||
@@ -311,7 +311,7 @@ ship_postprocess (PELEMENT ElementPtr)
|
|||||||
{
|
{
|
||||||
ELEMENTPTR EPtr;
|
ELEMENTPTR EPtr;
|
||||||
|
|
||||||
EPtr = LockElement (w, &EPtr);
|
LockElement (w, &EPtr);
|
||||||
SetElementStarShip (EPtr, StarShipPtr);
|
SetElementStarShip (EPtr, StarShipPtr);
|
||||||
if (!played_sfx)
|
if (!played_sfx)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user