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:
meep-eep
2004-04-07 03:46:32 +00:00
parent 589a8fa7ca
commit 359608a7d9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -378,7 +378,7 @@ ship_weapons (ELEMENTPTR ShipPtr, ELEMENTPTR OtherPtr, COUNT
w = *WeaponPtr;
if (w)
{
EPtr = LockElement (w, &EPtr);
LockElement (w, &EPtr);
if (EPtr->state_flags & APPEARING)
{
EPtr->next = EPtr->current;
+1 -1
View File
@@ -311,7 +311,7 @@ ship_postprocess (PELEMENT ElementPtr)
{
ELEMENTPTR EPtr;
EPtr = LockElement (w, &EPtr);
LockElement (w, &EPtr);
SetElementStarShip (EPtr, StarShipPtr);
if (!played_sfx)
{